Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.001316/0.001316, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001388/0.001388, allocations: 159.8 kB / 24.91 MB, free: 8.719 MB / 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.93/0.93, allocations: 177 MB / 205.2 MB, free: 5.035 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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.[0-9,]+.|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.259e-05, allocations: 6.25 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor): time 0.009831/0.009844, allocations: 13.51 MB / 286.9 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.09892/0.1088, allocations: 5.258 MB / 292.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001631/0.1104, allocations: 104.5 kB / 292.3 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.1123, allocations: 1.143 MB / 293.4 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.1147, allocations: 1.482 MB / 294.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001401/0.1161, allocations: 0.9992 MB / 295.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003163/0.1193, allocations: 4.33 MB / 300.2 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.121, allocations: 1.804 MB / 302 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.1237, allocations: 3.007 MB / 305 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.1257, allocations: 1.997 MB / 307 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006067/0.1263, allocations: 0.5066 MB / 307.5 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008329/0.1271, allocations: 0.7512 MB / 308.3 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005006/0.1276, allocations: 1.183 MB / 309.5 MB, free: 9.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009444/0.1286, allocations: 1.451 MB / 310.9 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.1305, allocations: 3.541 MB / 314.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1305, allocations: 0 / 314.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1305, allocations: 0 / 314.5 MB, free: 6.332 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.474e-05/0.1306, allocations: 4 kB / 314.5 MB, free: 6.328 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: 843 * Number of variables: 843 Notification: Performance of Generate backend data structure: time 0.004089/0.1347, allocations: 4.374 MB / 318.9 MB, free: 2.129 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.684e-05/0.1347, allocations: 15.98 kB / 318.9 MB, free: 2.113 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.1369, allocations: 1.112 MB / 320 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.1386, allocations: 1.523 MB / 321.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001148/0.1387, allocations: 245.4 kB / 321.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.139, allocations: 319.9 kB / 322.1 MB, free: 15.01 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002406/0.1414, allocations: 2.429 MB / 324.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.1415, allocations: 7.953 kB / 324.5 MB, free: 12.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001955/0.1416, allocations: 130 kB / 324.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.1417, allocations: 158.4 kB / 324.8 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001477/0.1432, allocations: 0.9533 MB / 325.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008301/0.1515, allocations: 8.235 MB / 334 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.1536, allocations: 1.746 MB / 335.7 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.1546, allocations: 0.8499 MB / 336.6 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002693/0.1573, allocations: 2.03 MB / 338.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000507/0.1578, allocations: 0.6467 MB / 339.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of pre-optimization done (n=132): time 2.255e-06/0.1578, allocations: 0 / 339.2 MB, free: 14.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=140): time 0.004437/0.1623, allocations: 3.16 MB / 342.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.1623, allocations: 226.9 kB / 342.6 MB, free: 10.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000936/0.1633, allocations: 1.331 MB / 343.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.277e-05/0.1633, allocations: 49.7 kB / 344 MB, free: 9.723 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005489/0.1639, allocations: 1.294 MB / 345.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.1641, allocations: 0.4994 MB / 345.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002784/0.1644, allocations: 302.1 kB / 346.1 MB, free: 7.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.1645, allocations: 304.1 kB / 346.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/0.1647, allocations: 194.7 kB / 346.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005013/0.1652, allocations: 0.8853 MB / 347.5 MB, free: 6.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008088/0.166, allocations: 1.039 MB / 348.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.166, allocations: 4 kB / 348.5 MB, free: 4.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=221) (initialization): time 0.001252/0.1673, allocations: 1.163 MB / 349.7 MB, free: 3.754 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.1673, allocations: 12 kB / 349.7 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/0.1673, allocations: 16 kB / 349.7 MB, free: 3.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004425/0.1678, allocations: 263.1 kB / 349.9 MB, free: 3.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.1684, allocations: 363.4 kB / 350.3 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002659/0.1711, allocations: 4.892 MB / 355.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.1716, allocations: 84.2 kB / 355.3 MB, free: 13.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.157e-05/0.1716, allocations: 59.98 kB / 355.3 MB, free: 13.84 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * 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 (195): * Single equations (assignments): 191 * 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 {(1,4,100.0%), (1,8,100.0%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003761/0.172, allocations: 224.1 kB / 355.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.1722, allocations: 159.8 kB / 355.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001266/0.1734, allocations: 1.064 MB / 356.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.1734, allocations: 12 kB / 356.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1735, allocations: 8 kB / 356.8 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1735, allocations: 7.969 kB / 356.8 MB, free: 12.33 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.176, allocations: 2.288 MB / 359.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.176, allocations: 0 / 359.1 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.1764, allocations: 163.8 kB / 359.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006804/0.1771, allocations: 391.9 kB / 359.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.1772, allocations: 35.98 kB / 359.7 MB, free: 9.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004451/0.1816, allocations: 8.399 MB / 368.1 MB, free: 0.8711 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1816, allocations: 3.938 kB / 368.1 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001477/0.1831, allocations: 1.363 MB / 369.4 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003044/0.1834, allocations: 212.9 kB / 369.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001358/0.1835, allocations: 43.94 kB / 369.7 MB, free: 15.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/0.1839, allocations: 43.98 kB / 369.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.184, allocations: 109.1 kB / 369.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.1841, allocations: 27.98 kB / 369.9 MB, free: 15.06 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004619/0.1845, allocations: 0.6108 MB / 370.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1845, allocations: 0 / 370.5 MB, free: 14.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001013/0.1856, allocations: 0.582 MB / 371 MB, free: 13.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(1,8,100.0%), (1,3,100.0%), (1,8,100.0%), (1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.1867, allocations: 0.5692 MB / 371.6 MB, free: 13.6 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001185/0.1878, allocations: 1.239 MB / 372.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.512e-05/0.1879, allocations: 21.81 kB / 372.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009355/0.1888, allocations: 1.193 MB / 374.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/0.1898, allocations: 469.5 kB / 374.5 MB, free: 10.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005182/0.1949, allocations: 4.877 MB / 379.4 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.1955, allocations: 0.6599 MB / 380.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005158/0.196, allocations: 251.7 kB / 380.3 MB, free: 4.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006774/0.1967, allocations: 455.1 kB / 380.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1967, allocations: 0 / 380.8 MB, free: 4.336 MB / 330.7 MB Notification: Performance of Templates: time 0.03501/0.2317, allocations: 30.08 MB / 410.8 MB, free: 6.68 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/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.361837293021381]