Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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.002493/0.002493, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002706/0.002706, allocations: 165.6 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=200000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|mass.s|mass.v|vfController.x",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 272.3 MB, free: 1.848 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.605e-05, allocations: 2.312 kB / 272.3 MB, free: 1.844 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01385/0.01387, allocations: 9.404 MB / 281.7 MB, free: 8.398 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.007529/0.0214, allocations: 3.541 MB / 285.3 MB, free: 4.848 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000976/0.02238, allocations: 63.56 kB / 285.3 MB, free: 4.785 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002091/0.02447, allocations: 0.726 MB / 286.1 MB, free: 4.055 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.0269, allocations: 0.9277 MB / 287 MB, free: 3.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.02802, allocations: 458.9 kB / 287.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003266/0.03129, allocations: 2.512 MB / 289.9 MB, free: 156 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1101/0.1414, allocations: 1.008 MB / 291 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002421/0.1438, allocations: 1.648 MB / 292.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001913/0.1457, allocations: 1.302 MB / 293.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004788/0.1462, allocations: 278.5 kB / 294.2 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008978/0.1471, allocations: 424.5 kB / 294.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000813/0.1479, allocations: 0.8475 MB / 295.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.1489, allocations: 0.8874 MB / 296.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004565/0.1535, allocations: 3.824 MB / 300.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.1535, allocations: 1.125 kB / 300.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1535, allocations: 3.375 kB / 300.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.000103/0.1536, allocations: 1.469 kB / 300.2 MB, free: 15.29 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.006576/0.1602, allocations: 3.012 MB / 303.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.1602, allocations: 12.81 kB / 303.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.1613, allocations: 449 kB / 303.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.164, allocations: 1.313 MB / 304.9 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.164, allocations: 139 kB / 305.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002653/0.1643, allocations: 200.9 kB / 305.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003575/0.1679, allocations: 2.327 MB / 307.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.925e-05/0.1679, allocations: 7.734 kB / 307.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001651/0.1681, allocations: 78.91 kB / 307.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.091e-05/0.1682, allocations: 97.61 kB / 307.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/0.1707, allocations: 1.469 MB / 309.2 MB, free: 9.988 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.1827, allocations: 8.547 MB / 317.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.1839, allocations: 0.7777 MB / 318.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.185, allocations: 0.5901 MB / 319.2 MB, free: 1.094 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002095/0.1852, allocations: 52.91 kB / 319.2 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000781/0.186, allocations: 0.6522 MB / 319.9 MB, free: 340 kB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.635e-06/0.186, allocations: 0 / 319.9 MB, free: 340 kB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.01293/0.1989, allocations: 4.396 MB / 324.3 MB, free: 11.91 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.1991, allocations: 167.2 kB / 324.4 MB, free: 11.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002509/0.2016, allocations: 1.497 MB / 325.9 MB, free: 10.21 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.2017, allocations: 45.7 kB / 326 MB, free: 10.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.203, allocations: 1.101 MB / 327.1 MB, free: 9.047 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005591/0.2036, allocations: 474.3 kB / 327.5 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005437/0.2041, allocations: 301.2 kB / 327.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0003965/0.2045, allocations: 0.5862 MB / 328.4 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008135/0.2053, allocations: 339.8 kB / 328.7 MB, free: 7.363 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.2068, allocations: 0.9805 MB / 329.7 MB, free: 6.164 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002376/0.2091, allocations: 1.314 MB / 331 MB, free: 4.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.2092, allocations: 4 kB / 331 MB, free: 4.707 MB / 282.7 MB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003775/0.2129, allocations: 1.582 MB / 332.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.2129, allocations: 8 kB / 332.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/0.213, allocations: 8 kB / 332.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.2142, allocations: 331.6 kB / 333 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.2154, allocations: 293.3 kB / 333.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007785/0.2232, allocations: 7.003 MB / 340.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.2244, allocations: 99.94 kB / 340.3 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/0.2246, allocations: 51.98 kB / 340.4 MB, free: 11.08 MB / 298.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.001097/0.2257, allocations: 0.518 MB / 340.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.2261, allocations: 195 kB / 341.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003375/0.2294, allocations: 1.355 MB / 342.5 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.2294, allocations: 12 kB / 342.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.2295, allocations: 4 kB / 342.5 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.395e-05/0.2295, allocations: 3.984 kB / 342.5 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008245/0.2377, allocations: 3.662 MB / 346.1 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.956e-06/0.2377, allocations: 4 kB / 346.1 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/0.2386, allocations: 198.1 kB / 346.3 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001529/0.2401, allocations: 371.1 kB / 346.7 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.2403, allocations: 39.97 kB / 346.7 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009523/0.2498, allocations: 8.715 MB / 355.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.2498, allocations: 7.891 kB / 355.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/0.2543, allocations: 2.003 MB / 357.5 MB, free: 9.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009748/0.2553, allocations: 270.9 kB / 357.7 MB, free: 9.176 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.2555, allocations: 31.98 kB / 357.8 MB, free: 9.145 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008015/0.2563, allocations: 67.94 kB / 357.8 MB, free: 9.078 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.2566, allocations: 108.1 kB / 357.9 MB, free: 8.977 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.497e-05/0.2567, allocations: 36 kB / 358 MB, free: 8.941 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001569/0.2583, allocations: 0.874 MB / 358.8 MB, free: 8.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2583, allocations: 0 / 358.8 MB, free: 8.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002009/0.2603, allocations: 451.9 kB / 359.3 MB, free: 7.621 MB / 314.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.003236/0.2635, allocations: 0.5186 MB / 359.8 MB, free: 7.328 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003724/0.2673, allocations: 1.76 MB / 361.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.2673, allocations: 0 / 361.6 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002529/0.2698, allocations: 1.426 MB / 363 MB, free: 4.066 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002045/0.2718, allocations: 370.9 kB / 363.3 MB, free: 3.715 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007325/0.2792, allocations: 3.762 MB / 367.1 MB, free: 15.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.2806, allocations: 1.071 MB / 368.2 MB, free: 14.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009624/0.2816, allocations: 255.8 kB / 368.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003275/0.2819, allocations: 100.5 kB / 368.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.363e-06/0.2819, allocations: 0 / 368.5 MB, free: 14.41 MB / 330.7 MB Notification: Performance of Templates: time 0.04843/0.3303, allocations: 23.76 MB / 392.3 MB, free: 7.043 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 658] Reference file matches [Calling sys.exit(0), Time elapsed: 9.404363192035817]