Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001415/0.001415, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001692/0.001692, allocations: 160.5 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9044/0.9044, allocations: 177 MB / 204.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 272.9 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.014e-05, allocations: 2.312 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008677/0.008698, allocations: 9.505 MB / 282.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005379/0.01408, allocations: 3.564 MB / 286 MB, free: 4.332 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007218/0.0148, allocations: 63.56 kB / 286.1 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001358/0.01616, allocations: 0.7221 MB / 286.8 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001802/0.01796, allocations: 0.9238 MB / 287.7 MB, free: 2.613 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000904/0.01886, allocations: 458.9 kB / 288.2 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1181/0.1369, allocations: 2.522 MB / 290.7 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.1382, allocations: 1.016 MB / 291.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.1411, allocations: 1.799 MB / 293.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.1434, allocations: 1.251 MB / 294.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007579/0.1442, allocations: 272.5 kB / 295 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001111/0.1453, allocations: 411.5 kB / 295.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008865/0.1461, allocations: 0.8103 MB / 296.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001157/0.1473, allocations: 0.8672 MB / 297.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002416/0.1497, allocations: 2.083 MB / 299.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1497, allocations: 1.406 kB / 299.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1497, allocations: 0 / 299.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.334e-05/0.1498, allocations: 0.625 kB / 299.2 MB, free: 15.43 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: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.003805/0.1536, allocations: 2.79 MB / 302 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1536, allocations: 9.625 kB / 302 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007899/0.1544, allocations: 443.5 kB / 302.4 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.156, allocations: 1.307 MB / 303.7 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.683e-05/0.1561, allocations: 145.2 kB / 303.9 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002223/0.1563, allocations: 200.3 kB / 304 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.1583, allocations: 1.534 MB / 305.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.173e-05/0.1583, allocations: 0.7031 kB / 305.6 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.1584, allocations: 77.91 kB / 305.7 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.618e-05/0.1585, allocations: 99.69 kB / 305.8 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.1597, allocations: 0.7014 MB / 306.5 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005091/0.1648, allocations: 6.001 MB / 312.5 MB, free: 7.977 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007526/0.1656, allocations: 0.6224 MB / 313.1 MB, free: 7.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006118/0.1662, allocations: 491 kB / 313.6 MB, free: 7.219 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000132/0.1663, allocations: 44.97 kB / 313.6 MB, free: 7.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/0.1667, allocations: 0.5249 MB / 314.1 MB, free: 6.594 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.504e-06/0.1667, allocations: 4 kB / 314.1 MB, free: 6.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.004873/0.1716, allocations: 3.801 MB / 317.9 MB, free: 2.773 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1716, allocations: 167.2 kB / 318.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.1725, allocations: 1.135 MB / 319.2 MB, free: 1.426 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.1725, allocations: 49.7 kB / 319.3 MB, free: 1.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.1729, allocations: 1.042 MB / 320.3 MB, free: 328 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.1731, allocations: 446.7 kB / 320.8 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00025/0.1734, allocations: 253.2 kB / 321 MB, free: 15.63 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1735, allocations: 0.5431 MB / 321.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003418/0.1739, allocations: 221.6 kB / 321.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005862/0.1744, allocations: 0.8228 MB / 322.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.1754, allocations: 1.018 MB / 323.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1754, allocations: 0 / 323.6 MB, free: 12.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001644/0.1771, allocations: 1.336 MB / 324.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1771, allocations: 8 kB / 324.9 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.1771, allocations: 12 kB / 325 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006115/0.1777, allocations: 289.4 kB / 325.2 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.1783, allocations: 292.6 kB / 325.5 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003931/0.1822, allocations: 6.692 MB / 332.2 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004888/0.1827, allocations: 83.92 kB / 332.3 MB, free: 3.699 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.1828, allocations: 48 kB / 332.4 MB, free: 3.652 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.dutyCycle.nextTimeEvent,$whenCondition1,dutyCycle.nextTimeEventScaled,$PRE.dutyCycle.nextTimeEventScaled,dutyCycle.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 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): 3 systems {(2,12,100.0%), (1,6,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003662/0.1831, allocations: 247.9 kB / 332.6 MB, free: 3.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/0.1833, allocations: 191 kB / 332.8 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.1848, allocations: 1.157 MB / 333.9 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.1848, allocations: 12 kB / 333.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1848, allocations: 8 kB / 334 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.1848, allocations: 11.97 kB / 334 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003283/0.1881, allocations: 2.965 MB / 336.9 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1881, allocations: 4 kB / 336.9 MB, free: 15.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.1885, allocations: 189.1 kB / 337.1 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006682/0.1891, allocations: 341.4 kB / 337.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.1892, allocations: 27.98 kB / 337.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004327/0.1935, allocations: 8.375 MB / 345.9 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1935, allocations: 11.31 kB / 345.9 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.1954, allocations: 1.67 MB / 347.5 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003245/0.1957, allocations: 266.8 kB / 347.8 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1958, allocations: 32 kB / 347.8 MB, free: 3.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003429/0.1962, allocations: 59.94 kB / 347.9 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.1963, allocations: 107.9 kB / 348 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.1964, allocations: 35.98 kB / 348 MB, free: 3.426 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006126/0.197, allocations: 0.6713 MB / 348.7 MB, free: 2.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.197, allocations: 0 / 348.7 MB, free: 2.75 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001029/0.198, allocations: 443.9 kB / 349.1 MB, free: 2.316 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 7 (aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],vfController.x,mass.s,mass.v) * Number of discrete variables: 3 ($whenCondition1,dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of discrete states: 2 (dutyCycle.nextTimeEvent,dutyCycle.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,3,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.0009487/0.1989, allocations: 474.6 kB / 349.6 MB, free: 2.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.2007, allocations: 1.525 MB / 351.1 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.2007, allocations: 0 / 351.1 MB, free: 500 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009964/0.2017, allocations: 1.284 MB / 352.4 MB, free: 15.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009082/0.2026, allocations: 370 kB / 352.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004011/0.2066, allocations: 3.605 MB / 356.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003873/0.207, allocations: 0.5206 MB / 356.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004871/0.2075, allocations: 255.9 kB / 357.1 MB, free: 10.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.2077, allocations: 104.5 kB / 357.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of SimCode: time 8.21e-07/0.2077, allocations: 0 / 357.2 MB, free: 10.21 MB / 314.7 MB Notification: Performance of Templates: time 0.02787/0.2355, allocations: 24.23 MB / 381.5 MB, free: 2.355 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Conveyor/IMC_Conveyor.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0921700107865036]