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.0009744/0.0009744, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001125/0.001125, allocations: 173.9 kB / 24.92 MB, free: 8.723 MB / 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 0.9467/0.9467, allocations: 177.1 MB / 205.3 MB, free: 5.094 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.[0-9,]+.|aimc.idq_rr.[0-9,]+.|aimc.idq_sr.[0-9,]+.|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.502e-06/1.502e-06, allocations: 0 / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.698e-05/1.848e-05, allocations: 5.266 kB / 273.5 MB, free: 1.168 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01019/0.01021, allocations: 9.244 MB / 282.7 MB, free: 7.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005068/0.01528, allocations: 3.664 MB / 286.4 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009975/0.01627, allocations: 63.56 kB / 286.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.01759, allocations: 0.7299 MB / 287.2 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.01923, allocations: 0.9316 MB / 288.1 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007541/0.01998, allocations: 462.8 kB / 288.5 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1001/0.1201, allocations: 2.506 MB / 291 MB, free: 16.19 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001434/0.1215, allocations: 1.043 MB / 292.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002565/0.1241, allocations: 1.781 MB / 293.9 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.1266, allocations: 1.237 MB / 295.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008204/0.1274, allocations: 271 kB / 295.4 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001233/0.1287, allocations: 407.6 kB / 295.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008757/0.1295, allocations: 0.8126 MB / 296.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.1316, allocations: 0.8661 MB / 297.4 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003249/0.1349, allocations: 2.075 MB / 299.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1349, allocations: 0.75 kB / 299.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1349, allocations: 0 / 299.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.64e-05/0.135, allocations: 0.7188 kB / 299.5 MB, free: 15.53 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.004393/0.1393, allocations: 2.481 MB / 302 MB, free: 14.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1394, allocations: 9.625 kB / 302 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008247/0.1402, allocations: 361.2 kB / 302.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.142, allocations: 0.9688 MB / 303.3 MB, free: 13.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.1421, allocations: 140.7 kB / 303.5 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002896/0.1424, allocations: 195.5 kB / 303.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002012/0.1444, allocations: 1.443 MB / 305.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.1445, allocations: 7.797 kB / 305.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.1447, allocations: 78.34 kB / 305.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.402e-05/0.1448, allocations: 93.77 kB / 305.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001217/0.146, allocations: 0.5521 MB / 305.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007013/0.153, allocations: 4.75 MB / 310.6 MB, free: 10.24 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.1536, allocations: 0.5747 MB / 311.2 MB, free: 9.996 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.1541, allocations: 424.9 kB / 311.6 MB, free: 9.836 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001278/0.1543, allocations: 40.98 kB / 311.6 MB, free: 9.797 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003339/0.1546, allocations: 481.7 kB / 312.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 1.924e-06/0.1546, allocations: 0 / 312.1 MB, free: 9.301 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.004835/0.1594, allocations: 3.13 MB / 315.2 MB, free: 6.195 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.1595, allocations: 171.2 kB / 315.4 MB, free: 5.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000624/0.1601, allocations: 0.9996 MB / 316.4 MB, free: 5.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.373e-05/0.1601, allocations: 49.7 kB / 316.4 MB, free: 5.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003308/0.1605, allocations: 0.7922 MB / 317.2 MB, free: 4.348 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/0.1606, allocations: 440.2 kB / 317.6 MB, free: 3.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.1608, allocations: 237.9 kB / 317.9 MB, free: 3.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.135e-05/0.1609, allocations: 367 kB / 318.2 MB, free: 3.395 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.1611, allocations: 154.8 kB / 318.4 MB, free: 3.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.1614, allocations: 0.6144 MB / 319 MB, free: 2.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005259/0.1619, allocations: 0.7937 MB / 319.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1619, allocations: 4 kB / 319.8 MB, free: 1.629 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001032/0.1629, allocations: 0.9828 MB / 320.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.1629, allocations: 8 kB / 320.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1629, allocations: 8 kB / 320.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.1635, allocations: 279 kB / 321.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005022/0.164, allocations: 274.6 kB / 321.3 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002942/0.1669, allocations: 4.759 MB / 326.1 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004869/0.1674, allocations: 55.98 kB / 326.2 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.1675, allocations: 47.98 kB / 326.2 MB, free: 11.11 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.0004139/0.1679, allocations: 207.8 kB / 326.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/0.168, allocations: 131.8 kB / 326.5 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.1691, allocations: 0.8773 MB / 327.4 MB, free: 9.898 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.1692, allocations: 15.94 kB / 327.4 MB, free: 9.883 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1692, allocations: 8 kB / 327.4 MB, free: 9.875 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.1692, allocations: 3.984 kB / 327.4 MB, free: 9.871 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002724/0.1719, allocations: 2.39 MB / 329.8 MB, free: 7.723 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.1719, allocations: 4 kB / 329.8 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.1723, allocations: 166.3 kB / 330 MB, free: 7.566 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000659/0.1729, allocations: 359 kB / 330.3 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.494e-05/0.173, allocations: 27.98 kB / 330.4 MB, free: 7.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00307/0.1761, allocations: 5.934 MB / 336.3 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1761, allocations: 7.938 kB / 336.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.1774, allocations: 1.291 MB / 337.6 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002984/0.1777, allocations: 201 kB / 337.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.1779, allocations: 39.98 kB / 337.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/0.1782, allocations: 39.98 kB / 337.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/0.1783, allocations: 100.2 kB / 338 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.1784, allocations: 27.98 kB / 338 MB, free: 15.24 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003964/0.1788, allocations: 479 kB / 338.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1788, allocations: 0 / 338.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001051/0.1798, allocations: 439.9 kB / 338.9 MB, free: 14.39 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.00119/0.181, allocations: 0.5938 MB / 339.5 MB, free: 14.08 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.1823, allocations: 1.137 MB / 340.6 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.199e-05/0.1823, allocations: 16.5 kB / 340.6 MB, free: 12.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007718/0.1831, allocations: 0.952 MB / 341.6 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008539/0.1839, allocations: 367.7 kB / 342 MB, free: 11.63 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/0.1878, allocations: 3.417 MB / 345.4 MB, free: 8.172 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1882, allocations: 473.1 kB / 345.8 MB, free: 7.684 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004106/0.1886, allocations: 184 kB / 346 MB, free: 7.5 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.1892, allocations: 369.1 kB / 346.4 MB, free: 7.137 MB / 298.7 MB Notification: Performance of SimCode: time 9.52e-07/0.1892, allocations: 3.938 kB / 346.4 MB, free: 7.133 MB / 298.7 MB Notification: Performance of Templates: time 0.02774/0.2169, allocations: 24.7 MB / 371.1 MB, free: 14.89 MB / 330.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","",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.759835981298238]