Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.0009832/0.0009832, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001022/0.001022, allocations: 170.2 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9158/0.9158, allocations: 158.6 MB / 187.5 MB, free: 2.793 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 251.5 MB, free: 7.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.303e-05/2.54e-05, allocations: 6.25 kB / 251.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.007704/0.007729, allocations: 9.314 MB / 260.8 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004713/0.01244, allocations: 3.046 MB / 263.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000901/0.01334, allocations: 35.81 kB / 263.9 MB, free: 10.76 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.0146, allocations: 0.5587 MB / 264.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001185/0.01579, allocations: 0.6161 MB / 265.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.01639, allocations: 323.4 kB / 265.4 MB, free: 9.262 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001587/0.01798, allocations: 1.832 MB / 267.2 MB, free: 7.422 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.01859, allocations: 429.3 kB / 267.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.01981, allocations: 1.041 MB / 268.7 MB, free: 5.938 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005776/0.02039, allocations: 0.5608 MB / 269.2 MB, free: 5.375 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001433/0.02054, allocations: 156 kB / 269.4 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000272/0.02081, allocations: 196 kB / 269.6 MB, free: 5.031 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.02099, allocations: 342.7 kB / 269.9 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004474/0.02143, allocations: 0.5612 MB / 270.5 MB, free: 4.133 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001042/0.02248, allocations: 1.167 MB / 271.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.02248, allocations: 0 / 271.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.02248, allocations: 0 / 271.6 MB, free: 2.961 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.02249, allocations: 0 / 271.6 MB, free: 2.961 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.001849/0.02434, allocations: 1.867 MB / 273.5 MB, free: 1.035 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.02439, allocations: 15.98 kB / 273.5 MB, free: 1.02 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/0.0248, allocations: 291.9 kB / 273.8 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007695/0.02557, allocations: 0.7296 MB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.02569, allocations: 167.8 kB / 274.7 MB, free: 15.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.02579, allocations: 112.4 kB / 274.8 MB, free: 15.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.02674, allocations: 1.301 MB / 276.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.02677, allocations: 11.88 kB / 276.1 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.204e-05/0.02682, allocations: 48 kB / 276.2 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.02684, allocations: 28 kB / 276.2 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.02724, allocations: 341.6 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.03042, allocations: 3.363 MB / 279.9 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000625/0.03104, allocations: 372.2 kB / 280.3 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.03119, allocations: 125.5 kB / 280.4 MB, free: 9.719 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.657e-05/0.03122, allocations: 16.5 kB / 280.4 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.03146, allocations: 221.9 kB / 280.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 1.843e-06/0.03147, allocations: 0 / 280.6 MB, free: 9.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0018/0.03326, allocations: 1.204 MB / 281.8 MB, free: 8.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001636/0.03343, allocations: 475.3 kB / 282.3 MB, free: 7.648 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006632/0.03409, allocations: 0.9224 MB / 283.2 MB, free: 6.703 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.735e-05/0.03413, allocations: 45.69 kB / 283.2 MB, free: 6.652 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.0345, allocations: 0.7324 MB / 284 MB, free: 5.91 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.03463, allocations: 245.9 kB / 284.2 MB, free: 5.668 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001787/0.0348, allocations: 204.5 kB / 284.4 MB, free: 5.461 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.03493, allocations: 0.512 MB / 284.9 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.03508, allocations: 157.9 kB / 285.1 MB, free: 4.773 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005588/0.03564, allocations: 1.208 MB / 286.3 MB, free: 3.168 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005731/0.03621, allocations: 0.827 MB / 287.1 MB, free: 2.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.03622, allocations: 8 kB / 287.1 MB, free: 2.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0008949/0.03711, allocations: 0.9323 MB / 288.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.03715, allocations: 63.41 kB / 288.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.03717, allocations: 12 kB / 288.1 MB, free: 1.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.03747, allocations: 158.2 kB / 288.3 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.03782, allocations: 203.7 kB / 288.5 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002474/0.04029, allocations: 4.268 MB / 292.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.0407, allocations: 55.94 kB / 292.8 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.04074, allocations: 39.98 kB / 292.8 MB, free: 12.1 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002259/0.04096, allocations: 240.5 kB / 293.1 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.04108, allocations: 135.3 kB / 293.2 MB, free: 11.72 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005419/0.04162, allocations: 483.2 kB / 293.7 MB, free: 11.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.04163, allocations: 11.94 kB / 293.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.424e-06/0.04163, allocations: 0 / 293.7 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000488/0.04212, allocations: 0.7458 MB / 294.4 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.04334, allocations: 1.227 MB / 295.7 MB, free: 9.055 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.04334, allocations: 4 kB / 295.7 MB, free: 9.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.04357, allocations: 103.8 kB / 295.8 MB, free: 8.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.04379, allocations: 111.3 kB / 295.9 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.04381, allocations: 15.98 kB / 295.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/0.04567, allocations: 4.084 MB / 300 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.04568, allocations: 11.86 kB / 300 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006626/0.04634, allocations: 0.7697 MB / 300.8 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002136/0.04656, allocations: 167.3 kB / 300.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/0.04662, allocations: 19.98 kB / 300.9 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.04689, allocations: 27.98 kB / 301 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.165e-05/0.04697, allocations: 60.33 kB / 301 MB, free: 3.406 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.04699, allocations: 20 kB / 301.1 MB, free: 3.387 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003473/0.04734, allocations: 0.521 MB / 301.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04734, allocations: 0 / 301.6 MB, free: 2.855 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006769/0.04802, allocations: 312 kB / 301.9 MB, free: 2.551 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00018/0.0482, allocations: 131.1 kB / 302 MB, free: 2.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008735/0.04907, allocations: 1.04 MB / 303 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.04907, allocations: 0 / 303 MB, free: 1.301 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003783/0.04945, allocations: 0.5509 MB / 303.6 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.05015, allocations: 304.5 kB / 303.9 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.05254, allocations: 2.05 MB / 305.9 MB, free: 14.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.0527, allocations: 201.7 kB / 306.1 MB, free: 14.07 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002902/0.05299, allocations: 128.6 kB / 306.3 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004956/0.05349, allocations: 413.9 kB / 306.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.05349, allocations: 0 / 306.7 MB, free: 13.54 MB / 298.7 MB Notification: Performance of Templates: time 0.02186/0.07535, allocations: 18.42 MB / 325.1 MB, free: 11.12 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.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.560044453945011]