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.0008249/0.0008249, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001149/0.001974, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007437/0.0007437, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009578/0.001701, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9214/0.9214, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09259/1.014, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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 3.286e-06/3.286e-06, allocations: 3.984 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.651e-05, allocations: 2.312 kB / 244.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008223/0.008249, allocations: 9.342 MB / 253.9 MB, free: 4.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005857/0.01411, allocations: 3.691 MB / 257.6 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00124/0.01535, allocations: 63.62 kB / 257.6 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.0167, allocations: 0.7337 MB / 258.4 MB, free: 428 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.01868, allocations: 0.9278 MB / 259.3 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.01952, allocations: 462.8 kB / 259.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002258/0.02178, allocations: 2.517 MB / 262.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009865/0.02277, allocations: 1.049 MB / 263.3 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002457/0.02523, allocations: 1.954 MB / 265.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001587/0.02681, allocations: 1.231 MB / 266.5 MB, free: 8.191 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000293/0.02711, allocations: 272 kB / 266.8 MB, free: 7.926 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006844/0.02779, allocations: 415.7 kB / 267.2 MB, free: 7.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.02829, allocations: 0.6662 MB / 267.8 MB, free: 6.852 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008193/0.02911, allocations: 0.7135 MB / 268.5 MB, free: 6.137 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002142/0.03125, allocations: 1.951 MB / 270.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.917e-05/0.03127, allocations: 4 kB / 270.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.03127, allocations: 0 / 270.5 MB, free: 4.176 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.232e-05/0.03133, allocations: 0 / 270.5 MB, free: 4.176 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.0032/0.03453, allocations: 2.942 MB / 273.4 MB, free: 1.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.03457, allocations: 15.97 kB / 273.5 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006154/0.03519, allocations: 441.7 kB / 273.9 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1126/0.1478, allocations: 0.9686 MB / 274.9 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.1479, allocations: 140.5 kB / 275 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.1483, allocations: 191.9 kB / 275.2 MB, free: 19.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00219/0.1504, allocations: 1.436 MB / 276.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.1505, allocations: 6.812 kB / 276.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.1506, allocations: 79.58 kB / 276.7 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.1507, allocations: 98.55 kB / 276.8 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.1518, allocations: 0.544 MB / 277.3 MB, free: 18.93 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006107/0.1579, allocations: 4.783 MB / 282.1 MB, free: 17.39 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007422/0.1586, allocations: 0.5747 MB / 282.7 MB, free: 17.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.1592, allocations: 416.6 kB / 283.1 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.1594, allocations: 47.08 kB / 283.2 MB, free: 17.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004741/0.1599, allocations: 481.4 kB / 283.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.845e-06/0.1599, allocations: 0.8125 kB / 283.6 MB, free: 17.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005726/0.1656, allocations: 3.142 MB / 286.8 MB, free: 16.44 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.1656, allocations: 64.28 kB / 286.8 MB, free: 16.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.1664, allocations: 1.006 MB / 287.8 MB, free: 16.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/0.1665, allocations: 46.86 kB / 287.9 MB, free: 16.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.1669, allocations: 0.7923 MB / 288.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.1671, allocations: 440.2 kB / 289.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.1673, allocations: 240.2 kB / 289.3 MB, free: 15.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.796e-05/0.1673, allocations: 362 kB / 289.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.1675, allocations: 163.5 kB / 289.9 MB, free: 14.93 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.1678, allocations: 0.6062 MB / 290.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005803/0.1684, allocations: 0.7919 MB / 291.3 MB, free: 14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.1684, allocations: 7.312 kB / 291.3 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001197/0.1696, allocations: 0.9757 MB / 292.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.1696, allocations: 9.438 kB / 292.2 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.1696, allocations: 13.34 kB / 292.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/0.1702, allocations: 273.8 kB / 292.5 MB, free: 13.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.1708, allocations: 314.5 kB / 292.8 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002328/0.1731, allocations: 4.784 MB / 297.6 MB, free: 9.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006845/0.1738, allocations: 53.81 kB / 297.7 MB, free: 9.379 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.1739, allocations: 48.02 kB / 297.7 MB, free: 9.332 MB / 266.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.0004657/0.1743, allocations: 196.3 kB / 297.9 MB, free: 9.148 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.1745, allocations: 131.8 kB / 298 MB, free: 9.02 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001011/0.1755, allocations: 0.8945 MB / 298.9 MB, free: 8.121 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.1755, allocations: 12 kB / 298.9 MB, free: 8.109 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1755, allocations: 8 kB / 298.9 MB, free: 8.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.1756, allocations: 7.922 kB / 299 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.1783, allocations: 2.389 MB / 301.3 MB, free: 5.938 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.1783, allocations: 4 kB / 301.3 MB, free: 5.934 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.1787, allocations: 207.6 kB / 301.6 MB, free: 5.742 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002765/0.179, allocations: 189.3 kB / 301.7 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006201/0.1796, allocations: 341.5 kB / 302.1 MB, free: 5.215 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/0.1796, allocations: 40.62 kB / 302.1 MB, free: 5.176 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002513/0.1822, allocations: 5.946 MB / 308.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.1822, allocations: 4 kB / 308.1 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.1836, allocations: 1.289 MB / 309.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/0.1838, allocations: 39.92 kB / 309.4 MB, free: 13.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.1841, allocations: 39.98 kB / 309.4 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/0.1843, allocations: 100.8 kB / 309.5 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.465e-05/0.1843, allocations: 27.98 kB / 309.6 MB, free: 13.38 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004434/0.1848, allocations: 480.6 kB / 310 MB, free: 12.95 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1848, allocations: 0 / 310 MB, free: 12.95 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001189/0.186, allocations: 443.9 kB / 310.5 MB, free: 12.52 MB / 282.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.001307/0.1873, allocations: 0.642 MB / 311.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.1887, allocations: 1.16 MB / 312.3 MB, free: 11.01 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-05/0.1887, allocations: 27.12 kB / 312.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/0.1898, allocations: 0.9445 MB / 313.2 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001023/0.1909, allocations: 487.2 kB / 313.7 MB, free: 9.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/0.2041, allocations: 3.483 MB / 317.2 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005004/0.2046, allocations: 477.1 kB / 317.7 MB, free: 5.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006302/0.2052, allocations: 188 kB / 317.8 MB, free: 5.332 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005799/0.2058, allocations: 369.1 kB / 318.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of SimCode: time 1.963e-06/0.2058, allocations: 2.844 kB / 318.2 MB, free: 4.969 MB / 282.7 MB Notification: Performance of Templates: time 0.03388/0.2396, allocations: 25.74 MB / 343.9 MB, free: 11.63 MB / 314.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 -ignoreHideResult -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.098395642824471]