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.001089/0.001089, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00106/0.00106, allocations: 160.5 kB / 24.55 MB, free: 20 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.9547/0.9547, allocations: 177 MB / 204.8 MB, free: 5.586 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.543e-06/1.543e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.882e-05/2.036e-05, allocations: 2.312 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01921/0.01923, allocations: 9.483 MB / 282.4 MB, free: 7.898 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00847/0.0277, allocations: 3.578 MB / 286 MB, free: 4.312 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006235/0.02832, allocations: 67.56 kB / 286.1 MB, free: 4.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001155/0.02948, allocations: 0.726 MB / 286.8 MB, free: 3.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001251/0.03073, allocations: 0.9199 MB / 287.7 MB, free: 2.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.03128, allocations: 454.9 kB / 288.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1146/0.1459, allocations: 2.522 MB / 290.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00146/0.1473, allocations: 1.017 MB / 291.7 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.1495, allocations: 1.643 MB / 293.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.1511, allocations: 1.306 MB / 294.6 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.1515, allocations: 280.6 kB / 294.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006582/0.1522, allocations: 424.3 kB / 295.3 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005913/0.1528, allocations: 0.8505 MB / 296.2 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008469/0.1536, allocations: 0.8868 MB / 297.1 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002071/0.1557, allocations: 2.118 MB / 299.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1557, allocations: 1.625 kB / 299.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1557, allocations: 0.5 kB / 299.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.213e-05/0.1557, allocations: 0 / 299.2 MB, free: 15.36 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.003145/0.1589, allocations: 2.832 MB / 302 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1589, allocations: 9.719 kB / 302 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007103/0.1596, allocations: 447 kB / 302.5 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.161, allocations: 1.297 MB / 303.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.337e-05/0.1611, allocations: 142.4 kB / 303.9 MB, free: 12.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002097/0.1613, allocations: 200 kB / 304.1 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.1632, allocations: 1.544 MB / 305.6 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.1633, allocations: 9.516 kB / 305.6 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.1634, allocations: 73 kB / 305.7 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.729e-05/0.1634, allocations: 91.55 kB / 305.8 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.1647, allocations: 0.7055 MB / 306.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005254/0.1699, allocations: 6.097 MB / 312.6 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000703/0.1706, allocations: 0.6068 MB / 313.2 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000611/0.1712, allocations: 490.3 kB / 313.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.1714, allocations: 48.97 kB / 313.7 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.1718, allocations: 0.5175 MB / 314.3 MB, free: 6.426 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 1.993e-06/0.1718, allocations: 0 / 314.3 MB, free: 6.426 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005254/0.1771, allocations: 3.898 MB / 318.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.1771, allocations: 173.8 kB / 318.3 MB, free: 2.309 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008544/0.178, allocations: 1.138 MB / 319.5 MB, free: 1.16 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.266e-05/0.178, allocations: 49.7 kB / 319.5 MB, free: 1.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003523/0.1784, allocations: 1.027 MB / 320.5 MB, free: 72 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002464/0.1786, allocations: 450 kB / 321 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002652/0.1789, allocations: 249.2 kB / 321.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.179, allocations: 0.5392 MB / 321.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003576/0.1794, allocations: 223.8 kB / 322 MB, free: 14.62 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/0.18, allocations: 0.8062 MB / 322.8 MB, free: 13.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009687/0.1809, allocations: 0.9973 MB / 323.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.1809, allocations: 0 / 323.8 MB, free: 12.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.001681/0.1826, allocations: 1.329 MB / 325.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1826, allocations: 10.66 kB / 325.1 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.1827, allocations: 8 kB / 325.1 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.1833, allocations: 310 kB / 325.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.1839, allocations: 294.2 kB / 325.7 MB, free: 10.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003564/0.1874, allocations: 6.677 MB / 332.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004759/0.1879, allocations: 95.91 kB / 332.5 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.566e-05/0.188, allocations: 48 kB / 332.5 MB, free: 3.438 MB / 282.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: 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 (148): * Single equations (assignments): 143 * 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.0003342/0.1883, allocations: 241.6 kB / 332.8 MB, free: 3.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001917/0.1885, allocations: 198.9 kB / 333 MB, free: 3.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.19, allocations: 1.168 MB / 334.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.19, allocations: 12 kB / 334.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1901, allocations: 4 kB / 334.1 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.1901, allocations: 7.984 kB / 334.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.1938, allocations: 2.995 MB / 337.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.1938, allocations: 4 kB / 337.2 MB, free: 14.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.1943, allocations: 193.9 kB / 337.3 MB, free: 14.6 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007311/0.195, allocations: 350.1 kB / 337.7 MB, free: 14.24 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.613e-05/0.1951, allocations: 31.98 kB / 337.7 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004246/0.1993, allocations: 8.47 MB / 346.2 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1993, allocations: 7.469 kB / 346.2 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001972/0.2013, allocations: 1.685 MB / 347.9 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.2017, allocations: 274.8 kB / 348.1 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/0.2018, allocations: 27.98 kB / 348.2 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.2021, allocations: 71.94 kB / 348.2 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.2023, allocations: 104.2 kB / 348.3 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-05/0.2024, allocations: 39.98 kB / 348.4 MB, free: 3.043 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008714/0.2032, allocations: 0.675 MB / 349.1 MB, free: 2.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2032, allocations: 0 / 349.1 MB, free: 2.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001112/0.2043, allocations: 447.9 kB / 349.5 MB, free: 1.922 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000982/0.2053, allocations: 480.1 kB / 350 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.207, allocations: 1.512 MB / 351.5 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.207, allocations: 0.6875 kB / 351.5 MB, free: 108 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.208, allocations: 1.32 MB / 352.8 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009459/0.209, allocations: 374.8 kB / 353.2 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.2136, allocations: 3.613 MB / 356.8 MB, free: 10.68 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.214, allocations: 0.5238 MB / 357.3 MB, free: 10.13 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004687/0.2144, allocations: 251.9 kB / 357.5 MB, free: 9.883 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/0.2146, allocations: 108.5 kB / 357.7 MB, free: 9.777 MB / 314.7 MB Notification: Performance of SimCode: time 5.52e-07/0.2146, allocations: 0 / 357.7 MB, free: 9.777 MB / 314.7 MB Notification: Performance of Templates: time 0.02728/0.2419, allocations: 23.78 MB / 381.4 MB, free: 2.371 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.279051839839667]