Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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.0009912/0.0009912, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.0009612/0.0009612, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.9308/0.9308, allocations: 177 MB / 204.8 MB, free: 5.582 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.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=25000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.196e-05/1.319e-05, allocations: 5.266 kB / 272.9 MB, free: 1.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.007222/0.007236, allocations: 9.601 MB / 282.5 MB, free: 7.777 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003167/0.0104, allocations: 3.104 MB / 285.6 MB, free: 4.664 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003594/0.01076, allocations: 27.88 kB / 285.7 MB, free: 4.637 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009443/0.01171, allocations: 0.5625 MB / 286.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006709/0.01238, allocations: 0.6123 MB / 286.8 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000342/0.01272, allocations: 323.4 kB / 287.2 MB, free: 3.137 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.0138, allocations: 1.832 MB / 289 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.01425, allocations: 429.3 kB / 289.4 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1149/0.1292, allocations: 1.037 MB / 290.4 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.1304, allocations: 0.5693 MB / 291 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000294/0.1307, allocations: 158.9 kB / 291.2 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004084/0.1311, allocations: 197.5 kB / 291.4 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001819/0.1313, allocations: 341.6 kB / 291.7 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.1319, allocations: 0.561 MB / 292.3 MB, free: 16.6 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.1334, allocations: 1.167 MB / 293.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.1334, allocations: 3.375 kB / 293.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1334, allocations: 0 / 293.4 MB, free: 16.49 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.296e-05/0.1335, allocations: 1.062 kB / 293.4 MB, free: 16.49 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002447/0.1359, allocations: 1.863 MB / 295.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.136, allocations: 14.8 kB / 295.3 MB, free: 15.49 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004917/0.1364, allocations: 293 kB / 295.6 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.1375, allocations: 0.7682 MB / 296.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.1377, allocations: 165.8 kB / 296.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.1378, allocations: 118.3 kB / 296.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.1391, allocations: 1.369 MB / 298 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.1392, allocations: 7.172 kB / 298 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.1392, allocations: 51.41 kB / 298.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.145e-05/0.1393, allocations: 29.67 kB / 298.1 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008501/0.1401, allocations: 420.6 kB / 298.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.1439, allocations: 3.328 MB / 301.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.1447, allocations: 409 kB / 302.2 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002028/0.1449, allocations: 143.7 kB / 302.4 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.521e-05/0.1449, allocations: 16.11 kB / 302.4 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002855/0.1452, allocations: 240.6 kB / 302.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 1.833e-06/0.1452, allocations: 0 / 302.6 MB, free: 12.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002324/0.1475, allocations: 1.452 MB / 304.1 MB, free: 11.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.312e-05/0.1476, allocations: 476.7 kB / 304.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008925/0.1485, allocations: 0.948 MB / 305.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.577e-05/0.1485, allocations: 42.23 kB / 305.5 MB, free: 10.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/0.1488, allocations: 0.7325 MB / 306.3 MB, free: 10.01 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.149, allocations: 244.9 kB / 306.5 MB, free: 9.824 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.1491, allocations: 201.5 kB / 306.7 MB, free: 9.715 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.735e-05/0.1492, allocations: 0.5154 MB / 307.2 MB, free: 9.215 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.1494, allocations: 180.2 kB / 307.4 MB, free: 9.133 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004498/0.1499, allocations: 1.23 MB / 308.6 MB, free: 7.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006221/0.1505, allocations: 0.8758 MB / 309.5 MB, free: 6.906 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.1505, allocations: 3.312 kB / 309.5 MB, free: 6.906 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001015/0.1515, allocations: 0.9938 MB / 310.5 MB, free: 6.508 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.342e-05/0.1515, allocations: 64.61 kB / 310.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.1516, allocations: 13.53 kB / 310.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000381/0.1519, allocations: 152.8 kB / 310.7 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.1523, allocations: 206.8 kB / 310.9 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.1543, allocations: 4.361 MB / 315.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/0.1547, allocations: 61.31 kB / 315.3 MB, free: 2.398 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.826e-05/0.1548, allocations: 45.27 kB / 315.4 MB, free: 2.391 MB / 266.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.0001927/0.155, allocations: 239.4 kB / 315.6 MB, free: 2.191 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.82e-05/0.1551, allocations: 138.3 kB / 315.8 MB, free: 2.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006043/0.1557, allocations: 0.5112 MB / 316.3 MB, free: 1.91 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1557, allocations: 10.53 kB / 316.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1557, allocations: 0 / 316.3 MB, free: 1.906 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005006/0.1562, allocations: 0.7772 MB / 317 MB, free: 1.273 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1575, allocations: 1.42 MB / 318.5 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.1575, allocations: 0 / 318.5 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.1578, allocations: 104.7 kB / 318.6 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.158, allocations: 120 kB / 318.7 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.688e-05/0.158, allocations: 19.17 kB / 318.7 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002061/0.1601, allocations: 4.162 MB / 322.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1601, allocations: 0 / 322.9 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008382/0.1609, allocations: 0.8314 MB / 323.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002199/0.1611, allocations: 162.8 kB / 323.9 MB, free: 10.9 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.1612, allocations: 23.98 kB / 323.9 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.1615, allocations: 31.92 kB / 323.9 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1616, allocations: 63.89 kB / 324 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/0.1616, allocations: 20 kB / 324 MB, free: 10.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005073/0.1621, allocations: 0.5719 MB / 324.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1621, allocations: 0 / 324.6 MB, free: 10.19 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007269/0.1628, allocations: 308 kB / 324.9 MB, free: 9.887 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.0002021/0.163, allocations: 127.6 kB / 325 MB, free: 9.762 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001164/0.1642, allocations: 1.075 MB / 326.1 MB, free: 8.652 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1642, allocations: 4 kB / 326.1 MB, free: 8.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004359/0.1646, allocations: 0.5726 MB / 326.6 MB, free: 8.055 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007924/0.1654, allocations: 306.3 kB / 326.9 MB, free: 7.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002865/0.1683, allocations: 2.046 MB / 329 MB, free: 5.691 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.1685, allocations: 201.7 kB / 329.2 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003259/0.1688, allocations: 128.6 kB / 329.3 MB, free: 5.34 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.1689, allocations: 72.5 kB / 329.4 MB, free: 5.27 MB / 282.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1689, allocations: 4 kB / 329.4 MB, free: 5.266 MB / 282.7 MB Notification: Performance of Templates: time 0.02007/0.189, allocations: 17.23 MB / 346.6 MB, free: 4.449 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 4.872134092263877]