Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 79.73 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 168 kB / 25.33 MB, free: 9.445 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8605/0.8605, allocations: 158.6 MB / 187.2 MB, free: 2.543 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 251.1 MB, free: 3.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.193e-05/2.344e-05, allocations: 6.25 kB / 251.1 MB, free: 3.559 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor): time 0.008117/0.00814, allocations: 9.393 MB / 260.5 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005283/0.01342, allocations: 3.343 MB / 263.8 MB, free: 6.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007031/0.01413, allocations: 51.62 kB / 263.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.01526, allocations: 0.7298 MB / 264.6 MB, free: 5.984 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.01647, allocations: 0.8771 MB / 265.5 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.01723, allocations: 470.9 kB / 265.9 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001484/0.01871, allocations: 2.508 MB / 268.4 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.01982, allocations: 0.9973 MB / 269.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001338/0.02115, allocations: 1.774 MB / 271.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.02222, allocations: 1.259 MB / 272.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002222/0.02244, allocations: 268 kB / 272.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.02288, allocations: 403.7 kB / 273.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004418/0.02332, allocations: 0.8024 MB / 273.9 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005778/0.0239, allocations: 0.8613 MB / 274.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001743/0.02564, allocations: 2.071 MB / 276.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.227e-06/0.02564, allocations: 0 / 276.9 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02565, allocations: 4 kB / 276.9 MB, free: 9.633 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.417e-05/0.02566, allocations: 0 / 276.9 MB, free: 9.633 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.002622/0.02828, allocations: 2.746 MB / 279.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.02832, allocations: 15.98 kB / 279.6 MB, free: 6.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005212/0.02884, allocations: 435.2 kB / 280 MB, free: 6.398 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.02999, allocations: 1.204 MB / 281.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.551e-05/0.03006, allocations: 147.7 kB / 281.4 MB, free: 5.008 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/0.03023, allocations: 188 kB / 281.6 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001784/0.03202, allocations: 1.535 MB / 283.1 MB, free: 3.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.03206, allocations: 7.984 kB / 283.1 MB, free: 3.215 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.03217, allocations: 79.98 kB / 283.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.403e-05/0.03224, allocations: 95.67 kB / 283.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.03367, allocations: 0.7007 MB / 284 MB, free: 2.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005214/0.03889, allocations: 5.988 MB / 290 MB, free: 12.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007829/0.03967, allocations: 0.6293 MB / 290.6 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008825/0.04055, allocations: 493.4 kB / 291.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.04068, allocations: 52.91 kB / 291.1 MB, free: 10.98 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000495/0.04118, allocations: 0.5289 MB / 291.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of pre-optimization done (n=99): time 2.084e-06/0.04118, allocations: 0 / 291.7 MB, free: 10.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=121): time 0.005651/0.04683, allocations: 4.058 MB / 295.7 MB, free: 6.266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.0469, allocations: 208.8 kB / 295.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/0.04788, allocations: 1.122 MB / 297.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.04794, allocations: 45.7 kB / 297.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.04874, allocations: 1.031 MB / 298.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.04897, allocations: 444.3 kB / 298.6 MB, free: 3.355 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.04923, allocations: 249.2 kB / 298.8 MB, free: 3.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.04937, allocations: 0.5394 MB / 299.3 MB, free: 2.555 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.04972, allocations: 215.9 kB / 299.6 MB, free: 2.344 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006035/0.05032, allocations: 0.8345 MB / 300.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009917/0.05131, allocations: 1.037 MB / 301.4 MB, free: 52 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.05131, allocations: 4 kB / 301.4 MB, free: 48 kB / 282.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.1011/0.1524, allocations: 1.329 MB / 302.8 MB, free: 49.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.1524, allocations: 9.469 kB / 302.8 MB, free: 49.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.1524, allocations: 10.16 kB / 302.8 MB, free: 49.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007383/0.1532, allocations: 295.8 kB / 303.1 MB, free: 49.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.1538, allocations: 283.4 kB / 303.3 MB, free: 49.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.157, allocations: 6.676 MB / 310 MB, free: 43.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.1578, allocations: 82.08 kB / 310.1 MB, free: 43.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.84e-05/0.1579, allocations: 54.28 kB / 310.2 MB, free: 43.77 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.000474/0.1584, allocations: 247 kB / 310.4 MB, free: 43.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.1587, allocations: 198.1 kB / 310.6 MB, free: 43.6 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001976/0.1606, allocations: 1.139 MB / 311.7 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/0.1606, allocations: 12.22 kB / 311.7 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.491e-05/0.1607, allocations: 6.891 kB / 311.7 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.44e-05/0.1607, allocations: 6.047 kB / 311.8 MB, free: 43.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004566/0.1652, allocations: 3.091 MB / 314.8 MB, free: 42.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.1652, allocations: 8.031 kB / 314.9 MB, free: 42.77 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000525/0.1658, allocations: 186.2 kB / 315 MB, free: 42.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009093/0.1667, allocations: 335.5 kB / 315.4 MB, free: 42.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.501e-05/0.1668, allocations: 37.33 kB / 315.4 MB, free: 42.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.1705, allocations: 8.38 MB / 323.8 MB, free: 35.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.1705, allocations: 6.375 kB / 323.8 MB, free: 35.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002202/0.1727, allocations: 1.684 MB / 325.5 MB, free: 34.66 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004306/0.1731, allocations: 266.5 kB / 325.7 MB, free: 34.52 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.1733, allocations: 32.16 kB / 325.8 MB, free: 34.5 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004638/0.1737, allocations: 61.77 kB / 325.8 MB, free: 34.48 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.1739, allocations: 106.6 kB / 325.9 MB, free: 34.47 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.174, allocations: 36.36 kB / 326 MB, free: 34.46 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006851/0.1747, allocations: 0.663 MB / 326.6 MB, free: 34.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1747, allocations: 0 / 326.6 MB, free: 34.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001323/0.176, allocations: 442.5 kB / 327.1 MB, free: 34.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (106): * Single equations (assignments): 99 * 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.001082/0.1771, allocations: 480.6 kB / 327.5 MB, free: 33.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001793/0.1789, allocations: 1.521 MB / 329 MB, free: 33.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1789, allocations: 0 / 329 MB, free: 33.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.18, allocations: 1.292 MB / 330.3 MB, free: 32.26 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.1811, allocations: 374 kB / 330.7 MB, free: 32.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.1857, allocations: 3.602 MB / 334.3 MB, free: 29.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000416/0.1861, allocations: 0.5199 MB / 334.8 MB, free: 28.75 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005865/0.1867, allocations: 253.4 kB / 335.1 MB, free: 28.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002267/0.1869, allocations: 98.47 kB / 335.2 MB, free: 28.48 MB / 282.7 MB Notification: Performance of SimCode: time 1.302e-06/0.1869, allocations: 4 kB / 335.2 MB, free: 28.48 MB / 282.7 MB Notification: Performance of Templates: time 0.02829/0.2152, allocations: 24.07 MB / 359.2 MB, free: 4.652 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Conveyor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Conveyor/AIMC_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.673819459974766]