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.001115/0.001115, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001672/0.002788, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001448/0.002508, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9684/0.9684, allocations: 177.5 MB / 190 MB, free: 4.773 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08927/1.058, allocations: 53.86 MB / 243.9 MB, free: 14.84 MB / 250.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.553e-06/1.553e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.391e-05, allocations: 5.406 kB / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.007777/0.007801, allocations: 9.346 MB / 254.6 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005872/0.01367, allocations: 3.687 MB / 258.3 MB, free: 448 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009978/0.01467, allocations: 59.62 kB / 258.3 MB, free: 388 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001265/0.01594, allocations: 0.7454 MB / 259.1 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.01766, allocations: 0.9315 MB / 260 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008319/0.01849, allocations: 462.8 kB / 260.4 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.0207, allocations: 2.54 MB / 263 MB, free: 11.69 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001042/0.02174, allocations: 1.037 MB / 264 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002459/0.0242, allocations: 1.962 MB / 266 MB, free: 8.617 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.02557, allocations: 1.239 MB / 267.2 MB, free: 7.375 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003506/0.02592, allocations: 268 kB / 267.5 MB, free: 7.113 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006842/0.0266, allocations: 415.7 kB / 267.9 MB, free: 6.707 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004468/0.02705, allocations: 0.6623 MB / 268.6 MB, free: 6.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007025/0.02775, allocations: 0.7174 MB / 269.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.02966, allocations: 1.958 MB / 271.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/0.02967, allocations: 0 / 271.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02967, allocations: 0 / 271.2 MB, free: 3.359 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.076e-05/0.02971, allocations: 0 / 271.2 MB, free: 3.359 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.002762/0.03247, allocations: 2.946 MB / 274.2 MB, free: 384 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.03251, allocations: 12.62 kB / 274.2 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1176/0.1501, allocations: 429.9 kB / 274.6 MB, free: 19.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.1518, allocations: 0.9729 MB / 275.6 MB, free: 18.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.992e-05/0.1519, allocations: 139.9 kB / 275.7 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002831/0.1522, allocations: 197.2 kB / 275.9 MB, free: 18.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.1541, allocations: 1.44 MB / 277.3 MB, free: 18.68 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/0.1542, allocations: 8.25 kB / 277.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.1543, allocations: 79.55 kB / 277.4 MB, free: 18.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.525e-05/0.1544, allocations: 92.02 kB / 277.5 MB, free: 18.68 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009976/0.1554, allocations: 0.5557 MB / 278.1 MB, free: 18.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.1617, allocations: 4.778 MB / 282.9 MB, free: 16.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.1625, allocations: 0.5788 MB / 283.4 MB, free: 16.85 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.1631, allocations: 418.4 kB / 283.8 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.1633, allocations: 42.48 kB / 283.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006048/0.1639, allocations: 477.5 kB / 284.4 MB, free: 16.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 4.598e-06/0.1639, allocations: 0 / 284.4 MB, free: 16.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005966/0.1699, allocations: 3.204 MB / 287.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1699, allocations: 65.38 kB / 287.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008663/0.1708, allocations: 1.016 MB / 288.6 MB, free: 15.62 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.66e-05/0.1708, allocations: 48.02 kB / 288.7 MB, free: 15.57 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.1712, allocations: 0.7911 MB / 289.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.1714, allocations: 437 kB / 289.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002064/0.1716, allocations: 240 kB / 290.1 MB, free: 14.63 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.1717, allocations: 362.9 kB / 290.5 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.1719, allocations: 163.5 kB / 290.6 MB, free: 14.31 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.1722, allocations: 0.6043 MB / 291.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007024/0.1729, allocations: 0.8273 MB / 292.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-06/0.1729, allocations: 4.578 kB / 292.1 MB, free: 13.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001223/0.1741, allocations: 0.9752 MB / 293.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.1741, allocations: 10.53 kB / 293.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.1742, allocations: 11.19 kB / 293.1 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005246/0.1747, allocations: 284 kB / 293.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005886/0.1753, allocations: 308.3 kB / 293.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002165/0.1774, allocations: 4.783 MB / 298.4 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/0.1779, allocations: 55.94 kB / 298.5 MB, free: 8.008 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.178, allocations: 52.02 kB / 298.5 MB, free: 7.957 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.0003253/0.1783, allocations: 192.6 kB / 298.7 MB, free: 7.773 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.1784, allocations: 135.8 kB / 298.9 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009238/0.1793, allocations: 0.8865 MB / 299.8 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1794, allocations: 16 kB / 299.8 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1794, allocations: 7.938 kB / 299.8 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.1794, allocations: 7.969 kB / 299.8 MB, free: 6.719 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002469/0.1818, allocations: 2.381 MB / 302.2 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.1818, allocations: 4.375 kB / 302.2 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003929/0.1822, allocations: 206.1 kB / 302.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/0.1825, allocations: 183 kB / 302.6 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005995/0.1831, allocations: 359.2 kB / 302.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.1831, allocations: 31.98 kB / 302.9 MB, free: 3.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002581/0.1857, allocations: 5.949 MB / 308.9 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.1857, allocations: 7.906 kB / 308.9 MB, free: 13.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.1871, allocations: 1.295 MB / 310.2 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.1872, allocations: 35.94 kB / 310.2 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003163/0.1875, allocations: 47.97 kB / 310.3 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/0.1877, allocations: 96.75 kB / 310.4 MB, free: 12.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.561e-05/0.1877, allocations: 31.98 kB / 310.4 MB, free: 12.02 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003886/0.1881, allocations: 478.9 kB / 310.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1881, allocations: 4 kB / 310.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001024/0.1891, allocations: 443.9 kB / 311.3 MB, free: 11.16 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.001306/0.1904, allocations: 0.6306 MB / 311.9 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001313/0.1918, allocations: 1.174 MB / 313.1 MB, free: 9.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.985e-05/0.1918, allocations: 29.12 kB / 313.1 MB, free: 9.641 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.1929, allocations: 1.166 MB / 314.3 MB, free: 8.441 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.1948, allocations: 3.374 MB / 317.7 MB, free: 4.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01268/0.2074, allocations: 3.433 MB / 321.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004928/0.2079, allocations: 473.1 kB / 321.6 MB, free: 460 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006366/0.2086, allocations: 176.2 kB / 321.7 MB, free: 280 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/0.2092, allocations: 373.1 kB / 322.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of SimCode: time 1.452e-06/0.2092, allocations: 0 / 322.1 MB, free: 15.91 MB / 298.7 MB Notification: Performance of Templates: time 0.03328/0.2424, allocations: 25.71 MB / 347.8 MB, free: 6.539 MB / 314.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.83605794981122]