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.001276/0.001276, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 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.002833/0.002833, allocations: 158.5 kB / 24.91 MB, free: 8.719 MB / 18.57 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.978/0.978, allocations: 177 MB / 205.2 MB, free: 5.027 MB / 186.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.794e-06/1.794e-06, allocations: 0 / 273.4 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.985e-05/3.164e-05, allocations: 9.266 kB / 273.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Conveyor): time 0.01249/0.01252, allocations: 9.28 MB / 282.7 MB, free: 7.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006719/0.01924, allocations: 3.668 MB / 286.4 MB, free: 3.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.02072, allocations: 63.62 kB / 286.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.02251, allocations: 0.7415 MB / 287.2 MB, free: 3.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002681/0.02519, allocations: 0.9121 MB / 288.1 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.02627, allocations: 458.9 kB / 288.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1179/0.1441, allocations: 2.518 MB / 291.1 MB, free: 16.14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.1457, allocations: 1.042 MB / 292.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003029/0.1487, allocations: 1.778 MB / 293.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.151, allocations: 1.238 MB / 295.1 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008044/0.1518, allocations: 272.4 kB / 295.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009877/0.1528, allocations: 416.3 kB / 295.8 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006771/0.1534, allocations: 0.807 MB / 296.6 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001714/0.1552, allocations: 0.8724 MB / 297.5 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003317/0.1585, allocations: 2.077 MB / 299.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1585, allocations: 2.812 kB / 299.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1585, allocations: 0 / 299.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001317/0.1586, allocations: 0.5312 kB / 299.6 MB, free: 15.36 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.004484/0.1631, allocations: 2.477 MB / 302 MB, free: 13.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1631, allocations: 10.19 kB / 302.1 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007936/0.1639, allocations: 367 kB / 302.4 MB, free: 13.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.1655, allocations: 0.9693 MB / 303.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/0.1656, allocations: 148.1 kB / 303.5 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.1658, allocations: 195 kB / 303.7 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001601/0.1674, allocations: 1.443 MB / 305.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.323e-05/0.1675, allocations: 10.94 kB / 305.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.1676, allocations: 72.44 kB / 305.2 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.342e-05/0.1677, allocations: 92.84 kB / 305.3 MB, free: 12.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008756/0.1685, allocations: 0.5539 MB / 305.9 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00535/0.1739, allocations: 4.758 MB / 310.6 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006301/0.1745, allocations: 0.5804 MB / 311.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.175, allocations: 411.6 kB / 311.6 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.1751, allocations: 48.42 kB / 311.7 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003533/0.1755, allocations: 481.2 kB / 312.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of pre-optimization done (n=99): time 2.174e-06/0.1755, allocations: 0 / 312.1 MB, free: 8.961 MB / 266.7 MB Notification: Performance of matching and sorting (n=121): time 0.005018/0.1805, allocations: 3.143 MB / 315.3 MB, free: 5.84 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.1805, allocations: 167.2 kB / 315.5 MB, free: 5.641 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.1812, allocations: 1.013 MB / 316.5 MB, free: 4.789 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.303e-05/0.1812, allocations: 45.7 kB / 316.5 MB, free: 4.738 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.1816, allocations: 0.7881 MB / 317.3 MB, free: 3.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.1818, allocations: 434.8 kB / 317.7 MB, free: 3.594 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002027/0.182, allocations: 239.4 kB / 318 MB, free: 3.379 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.951e-05/0.182, allocations: 366 kB / 318.3 MB, free: 3.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.1822, allocations: 162.8 kB / 318.5 MB, free: 2.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.1825, allocations: 0.6092 MB / 319.1 MB, free: 2.129 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005754/0.1831, allocations: 0.7938 MB / 319.9 MB, free: 1.273 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1831, allocations: 4 kB / 319.9 MB, free: 1.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.001168/0.1843, allocations: 0.9849 MB / 320.9 MB, free: 348 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.1843, allocations: 8 kB / 320.9 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.1843, allocations: 8 kB / 320.9 MB, free: 332 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005527/0.1848, allocations: 285.8 kB / 321.2 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006313/0.1855, allocations: 290.3 kB / 321.4 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/0.1885, allocations: 4.773 MB / 326.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.1892, allocations: 59.97 kB / 326.3 MB, free: 10.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.429e-05/0.1892, allocations: 44 kB / 326.3 MB, free: 10.7 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.0005453/0.1898, allocations: 204.2 kB / 326.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/0.19, allocations: 127.9 kB / 326.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001156/0.1911, allocations: 0.8859 MB / 327.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.1911, allocations: 19.92 kB / 327.5 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.1912, allocations: 4 kB / 327.6 MB, free: 9.473 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.1912, allocations: 3.984 kB / 327.6 MB, free: 9.469 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002988/0.1941, allocations: 2.389 MB / 329.9 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1942, allocations: 4.062 kB / 329.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.1946, allocations: 186.5 kB / 330.1 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007025/0.1953, allocations: 352.8 kB / 330.5 MB, free: 6.785 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.075e-05/0.1953, allocations: 31.97 kB / 330.5 MB, free: 6.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0033/0.1986, allocations: 5.937 MB / 336.4 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.616e-06/0.1987, allocations: 12.02 kB / 336.5 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001762/0.2004, allocations: 1.294 MB / 337.7 MB, free: 15.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.2007, allocations: 198.3 kB / 337.9 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001144/0.2009, allocations: 32 kB / 338 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003166/0.2012, allocations: 39.98 kB / 338 MB, free: 14.94 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/0.2013, allocations: 108.4 kB / 338.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.2014, allocations: 27.94 kB / 338.1 MB, free: 14.81 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003942/0.2018, allocations: 475.9 kB / 338.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2018, allocations: 0 / 338.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001142/0.2029, allocations: 439.9 kB / 339 MB, free: 13.96 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.00125/0.2042, allocations: 0.5909 MB / 339.6 MB, free: 13.64 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001377/0.2056, allocations: 1.151 MB / 340.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.122e-05/0.2056, allocations: 16.5 kB / 340.8 MB, free: 12.49 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007983/0.2064, allocations: 0.9487 MB / 341.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008496/0.2072, allocations: 371.3 kB / 342.1 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/0.212, allocations: 3.414 MB / 345.5 MB, free: 7.719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.2124, allocations: 473.1 kB / 346 MB, free: 7.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005147/0.2129, allocations: 188.1 kB / 346.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005715/0.2135, allocations: 369 kB / 346.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of SimCode: time 1.513e-06/0.2135, allocations: 0 / 346.5 MB, free: 6.68 MB / 298.7 MB Notification: Performance of Templates: time 0.03903/0.2525, allocations: 24.73 MB / 371.3 MB, free: 14.37 MB / 330.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 -s gbode -gbm=radauIIA3 -emit_protected -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: 5.211254321038723]