Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000965/0.000965, allocations: 144.2 kB / 24.89 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9191/0.9191, allocations: 173.4 MB / 201.5 MB, free: 8.766 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=15000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 268.5 MB, free: 5.973 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.906e-05/2.065e-05, allocations: 2.312 kB / 268.5 MB, free: 5.969 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL): time 0.007828/0.007849, allocations: 9.165 MB / 277.7 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.01256, allocations: 3.017 MB / 280.7 MB, free: 9.734 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/0.01322, allocations: 59.62 kB / 280.8 MB, free: 9.676 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.01426, allocations: 0.6364 MB / 281.4 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.01555, allocations: 0.8459 MB / 282.3 MB, free: 8.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004331/0.01598, allocations: 355.4 kB / 282.6 MB, free: 7.836 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.01774, allocations: 2.761 MB / 285.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009439/0.01868, allocations: 1.167 MB / 286.5 MB, free: 3.809 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001637/0.02032, allocations: 1.922 MB / 288.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001166/0.02148, allocations: 1.364 MB / 289.8 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000253/0.02174, allocations: 296 kB / 290.1 MB, free: 232 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1048/0.1266, allocations: 390.2 kB / 290.5 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00111/0.1277, allocations: 0.8924 MB / 291.4 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001821/0.1295, allocations: 0.9577 MB / 292.3 MB, free: 19.32 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.1323, allocations: 2.257 MB / 294.6 MB, free: 19.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1323, allocations: 2.562 kB / 294.6 MB, free: 19.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.093e-06/0.1323, allocations: 0 / 294.6 MB, free: 19.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001066/0.1324, allocations: 0 / 294.6 MB, free: 19.13 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.004124/0.1365, allocations: 2.624 MB / 297.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1366, allocations: 9.859 kB / 297.2 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000769/0.1373, allocations: 376.3 kB / 297.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/0.1388, allocations: 1.011 MB / 298.6 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.669e-05/0.1389, allocations: 148.8 kB / 298.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002227/0.1391, allocations: 213.3 kB / 299 MB, free: 17.56 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.1412, allocations: 1.579 MB / 300.5 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.34e-05/0.1412, allocations: 9.812 kB / 300.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/0.1414, allocations: 84.44 kB / 300.6 MB, free: 17.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.728e-05/0.1414, allocations: 95.53 kB / 300.7 MB, free: 17.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.1424, allocations: 0.5981 MB / 301.3 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005569/0.148, allocations: 5.393 MB / 306.7 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005797/0.1485, allocations: 0.6461 MB / 307.4 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005211/0.1491, allocations: 482.1 kB / 307.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.1492, allocations: 51.75 kB / 307.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.1492, allocations: 50.64 kB / 307.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=104): time 2.705e-06/0.1492, allocations: 0 / 307.9 MB, free: 14.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=120): time 0.004186/0.1534, allocations: 2.479 MB / 310.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.137e-05/0.1534, allocations: 63.88 kB / 310.5 MB, free: 13.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006594/0.1541, allocations: 0.9679 MB / 311.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.335e-05/0.1541, allocations: 51.73 kB / 311.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.1544, allocations: 0.8421 MB / 312.3 MB, free: 12.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.1545, allocations: 426.7 kB / 312.8 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002195/0.1548, allocations: 233.8 kB / 313 MB, free: 12.17 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.108e-05/0.1548, allocations: 372.3 kB / 313.3 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.155, allocations: 164.7 kB / 313.5 MB, free: 11.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002706/0.1553, allocations: 479.3 kB / 314 MB, free: 11.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005797/0.1559, allocations: 0.7933 MB / 314.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1559, allocations: 8 kB / 314.8 MB, free: 10.54 MB / 266.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.0009778/0.1569, allocations: 0.9189 MB / 315.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1569, allocations: 8 kB / 315.7 MB, free: 9.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1569, allocations: 8 kB / 315.7 MB, free: 9.656 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.1573, allocations: 222.4 kB / 315.9 MB, free: 9.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000658/0.158, allocations: 325.2 kB / 316.2 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.1595, allocations: 3.156 MB / 319.4 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005823/0.1601, allocations: 51.94 kB / 319.5 MB, free: 5.801 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/0.1601, allocations: 36.55 kB / 319.5 MB, free: 5.766 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 3 (idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004618/0.1606, allocations: 202 kB / 319.7 MB, free: 5.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.1608, allocations: 135.8 kB / 319.8 MB, free: 5.445 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008787/0.1616, allocations: 0.8338 MB / 320.7 MB, free: 4.602 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.1616, allocations: 8 kB / 320.7 MB, free: 4.594 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1616, allocations: 4.875 kB / 320.7 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.1617, allocations: 7.969 kB / 320.7 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.1639, allocations: 2.074 MB / 322.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1639, allocations: 4 kB / 322.7 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.1645, allocations: 266.5 kB / 323 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004994/0.165, allocations: 264.9 kB / 323.3 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.726e-05/0.165, allocations: 27.98 kB / 323.3 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002373/0.1674, allocations: 4.377 MB / 327.7 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.1674, allocations: 4 kB / 327.7 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001394/0.1688, allocations: 1.205 MB / 328.9 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.1691, allocations: 201.7 kB / 329.1 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.1692, allocations: 29.08 kB / 329.1 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003338/0.1696, allocations: 47.98 kB / 329.2 MB, free: 11.96 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.1697, allocations: 104 kB / 329.3 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.1698, allocations: 23.98 kB / 329.3 MB, free: 11.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004005/0.1702, allocations: 490.6 kB / 329.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1702, allocations: 0 / 329.8 MB, free: 11.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00102/0.1712, allocations: 452 kB / 330.2 MB, free: 10.96 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi) * Number of discrete variables: 3 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,12,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.1714, allocations: 174.3 kB / 330.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.1725, allocations: 0.9765 MB / 331.3 MB, free: 9.848 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/0.1725, allocations: 16.5 kB / 331.4 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007009/0.1732, allocations: 0.7868 MB / 332.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008955/0.1741, allocations: 387.8 kB / 332.5 MB, free: 8.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.1788, allocations: 3.558 MB / 336.1 MB, free: 5.078 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.1792, allocations: 0.4969 MB / 336.6 MB, free: 4.555 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005093/0.1797, allocations: 188.7 kB / 336.8 MB, free: 4.363 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006474/0.1803, allocations: 396.2 kB / 337.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of SimCode: time 1.372e-06/0.1803, allocations: 0 / 337.2 MB, free: 3.977 MB / 282.7 MB Notification: Performance of Templates: time 0.03261/0.213, allocations: 25.28 MB / 362.4 MB, free: 11.16 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.17825760319829]