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.0009677/0.0009677, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001347/0.002315, allocations: 449.7 kB / 10.37 MB, free: 324 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.0009229/0.0009229, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00121/0.002133, allocations: 463.6 kB / 11.72 MB, free: 2.453 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.9628/0.9628, allocations: 177.4 MB / 189.9 MB, free: 4.852 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0926/1.055, allocations: 53.86 MB / 243.7 MB, free: 14.93 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.442e-06/1.442e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.733e-05/1.877e-05, allocations: 5.688 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.008434/0.008453, allocations: 9.35 MB / 254.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006244/0.0147, allocations: 3.687 MB / 258.1 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.01578, allocations: 63.56 kB / 258.1 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001311/0.01709, allocations: 0.7415 MB / 258.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.01893, allocations: 0.9315 MB / 259.8 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008337/0.01976, allocations: 454.9 kB / 260.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002425/0.02218, allocations: 2.532 MB / 262.8 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001271/0.02346, allocations: 1.037 MB / 263.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003162/0.02662, allocations: 1.973 MB / 265.8 MB, free: 8.734 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.02818, allocations: 1.228 MB / 267 MB, free: 7.504 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004368/0.02861, allocations: 272 kB / 267.3 MB, free: 7.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007933/0.02941, allocations: 415.7 kB / 267.7 MB, free: 6.832 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004784/0.02989, allocations: 0.6701 MB / 268.4 MB, free: 6.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.03095, allocations: 0.7135 MB / 269.1 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.03278, allocations: 1.954 MB / 271 MB, free: 3.484 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.03279, allocations: 0 / 271 MB, free: 3.484 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.0328, allocations: 0 / 271 MB, free: 3.484 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.068e-05/0.03283, allocations: 0 / 271 MB, free: 3.484 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.002759/0.03559, allocations: 2.95 MB / 274 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.03562, allocations: 8.625 kB / 274 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005783/0.0362, allocations: 433.8 kB / 274.4 MB, free: 48 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1124/0.1486, allocations: 0.9727 MB / 275.4 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/0.1487, allocations: 143.5 kB / 275.5 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003328/0.1491, allocations: 193.3 kB / 275.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.1517, allocations: 1.441 MB / 277.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/0.1517, allocations: 7.047 kB / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.1518, allocations: 83.17 kB / 277.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.152, allocations: 96.95 kB / 277.3 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.1531, allocations: 0.5495 MB / 277.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006386/0.1595, allocations: 4.777 MB / 282.7 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.1602, allocations: 0.5765 MB / 283.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005473/0.1607, allocations: 416.1 kB / 283.6 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.1608, allocations: 42.98 kB / 283.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004368/0.1613, allocations: 483.4 kB / 284.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.665e-06/0.1613, allocations: 0 / 284.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005268/0.1666, allocations: 3.145 MB / 287.3 MB, free: 9.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.1666, allocations: 65.03 kB / 287.4 MB, free: 9.625 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00072/0.1673, allocations: 1.009 MB / 288.4 MB, free: 9.441 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.1673, allocations: 44.08 kB / 288.4 MB, free: 9.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.1677, allocations: 0.7937 MB / 289.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.1679, allocations: 432.9 kB / 289.6 MB, free: 8.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/0.168, allocations: 240.5 kB / 289.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.1681, allocations: 364 kB / 290.2 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.1683, allocations: 159.9 kB / 290.4 MB, free: 8.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002861/0.1686, allocations: 0.6128 MB / 291 MB, free: 7.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005665/0.1691, allocations: 0.7892 MB / 291.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.1691, allocations: 3.594 kB / 291.8 MB, free: 7.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001109/0.1703, allocations: 0.9813 MB / 292.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.1703, allocations: 10.91 kB / 292.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.1703, allocations: 11.03 kB / 292.8 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005268/0.1708, allocations: 282.1 kB / 293.1 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.1714, allocations: 315.1 kB / 293.4 MB, free: 7.195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002053/0.1734, allocations: 4.776 MB / 298.1 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004943/0.1739, allocations: 61.17 kB / 298.2 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.096e-05/0.174, allocations: 44.92 kB / 298.2 MB, free: 3.109 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.0003653/0.1744, allocations: 197 kB / 298.4 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.1745, allocations: 135.9 kB / 298.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/0.1756, allocations: 0.8879 MB / 299.5 MB, free: 2.547 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1756, allocations: 12 kB / 299.5 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.1756, allocations: 4 kB / 299.5 MB, free: 2.531 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-06/0.1756, allocations: 15.91 kB / 299.5 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002412/0.178, allocations: 2.384 MB / 301.9 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.178, allocations: 4.031 kB / 301.9 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003993/0.1784, allocations: 198.8 kB / 302.1 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002905/0.1787, allocations: 190.6 kB / 302.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006829/0.1794, allocations: 347.5 kB / 302.6 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/0.1794, allocations: 35.98 kB / 302.6 MB, free: 15.61 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003372/0.1828, allocations: 5.947 MB / 308.6 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1828, allocations: 7.281 kB / 308.6 MB, free: 9.371 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.1843, allocations: 1.294 MB / 309.9 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.1845, allocations: 32 kB / 309.9 MB, free: 8.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003471/0.1848, allocations: 47.91 kB / 310 MB, free: 7.977 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.185, allocations: 104.2 kB / 310.1 MB, free: 7.879 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-05/0.185, allocations: 27.98 kB / 310.1 MB, free: 7.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005067/0.1855, allocations: 475.2 kB / 310.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1855, allocations: 0 / 310.6 MB, free: 7.434 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001309/0.1869, allocations: 443.9 kB / 311 MB, free: 7 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.001445/0.1883, allocations: 0.6258 MB / 311.6 MB, free: 6.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001638/0.1899, allocations: 1.154 MB / 312.8 MB, free: 5.547 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.182e-05/0.19, allocations: 35.06 kB / 312.8 MB, free: 5.516 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008135/0.1908, allocations: 0.9473 MB / 313.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009524/0.1917, allocations: 493.7 kB / 314.2 MB, free: 4.086 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.2053, allocations: 3.494 MB / 317.7 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004809/0.2058, allocations: 477.1 kB / 318.2 MB, free: 64 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006562/0.2064, allocations: 184.2 kB / 318.4 MB, free: 15.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/0.207, allocations: 369 kB / 318.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of SimCode: time 1.724e-06/0.207, allocations: 0 / 318.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of Templates: time 0.03797/0.245, allocations: 25.75 MB / 344.5 MB, free: 6.16 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 4.434908141382039]