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.001051/0.001051, allocations: 95.5 kB / 21.19 MB, free: 3.359 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.0009388/0.0009388, allocations: 156.5 kB / 24.55 MB, free: 4 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.9833/0.9833, allocations: 177 MB / 204.8 MB, free: 5.578 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.313e-06/1.313e-06, allocations: 0 / 272.9 MB, free: 1.434 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.467e-05/2.598e-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.008045/0.008071, allocations: 9.608 MB / 282.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004709/0.01278, allocations: 3.088 MB / 285.6 MB, free: 4.672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007669/0.01355, allocations: 31.81 kB / 285.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.01479, allocations: 0.5703 MB / 286.2 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001111/0.0159, allocations: 0.6123 MB / 286.9 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000536/0.01644, allocations: 315.4 kB / 287.2 MB, free: 3.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001571/0.01801, allocations: 1.844 MB / 289 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005593/0.01857, allocations: 429.3 kB / 289.4 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1164/0.1349, allocations: 1.037 MB / 290.5 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.1361, allocations: 0.5652 MB / 291 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004214/0.1365, allocations: 157.1 kB / 291.2 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000516/0.137, allocations: 196 kB / 291.4 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.1372, allocations: 337.2 kB / 291.7 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008232/0.1381, allocations: 0.5563 MB / 292.3 MB, free: 16.52 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001663/0.1397, allocations: 1.16 MB / 293.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.1397, allocations: 0 / 293.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1397, allocations: 1.781 kB / 293.4 MB, free: 16.41 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.544e-05/0.1398, allocations: 0 / 293.4 MB, free: 16.41 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.002743/0.1425, allocations: 1.857 MB / 295.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.1426, allocations: 13.83 kB / 295.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005575/0.1431, allocations: 296.1 kB / 295.6 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.1441, allocations: 0.7459 MB / 296.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.1442, allocations: 162.9 kB / 296.5 MB, free: 14.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.1444, allocations: 124.6 kB / 296.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.1457, allocations: 1.363 MB / 298 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.1457, allocations: 7.344 kB / 298 MB, free: 14.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.617e-05/0.1458, allocations: 49.94 kB / 298 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1458, allocations: 25.97 kB / 298 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007812/0.1466, allocations: 427.3 kB / 298.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003754/0.1503, allocations: 3.322 MB / 301.8 MB, free: 12.56 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.1511, allocations: 413.7 kB / 302.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002126/0.1513, allocations: 138.4 kB / 302.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.1514, allocations: 12.86 kB / 302.3 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.1516, allocations: 251.2 kB / 302.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.605e-06/0.1516, allocations: 0 / 302.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002251/0.1539, allocations: 1.459 MB / 304 MB, free: 11.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.451e-05/0.154, allocations: 474.8 kB / 304.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008135/0.1548, allocations: 0.9462 MB / 305.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.1548, allocations: 48 kB / 305.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002704/0.1551, allocations: 0.7229 MB / 306.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1552, allocations: 245.1 kB / 306.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.1554, allocations: 199.9 kB / 306.7 MB, free: 9.668 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.1554, allocations: 0.5111 MB / 307.2 MB, free: 9.172 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.1556, allocations: 183.6 kB / 307.3 MB, free: 9.09 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.156, allocations: 1.226 MB / 308.6 MB, free: 7.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000591/0.1566, allocations: 0.8739 MB / 309.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.1566, allocations: 7.75 kB / 309.5 MB, free: 6.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0009755/0.1576, allocations: 1.003 MB / 310.5 MB, free: 6.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.1576, allocations: 63.7 kB / 310.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.1577, allocations: 11.53 kB / 310.5 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/0.158, allocations: 153.2 kB / 310.7 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.1584, allocations: 208.8 kB / 310.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002074/0.1604, allocations: 4.357 MB / 315.2 MB, free: 2.375 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004348/0.1609, allocations: 57.22 kB / 315.3 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.372e-05/0.1609, allocations: 52.83 kB / 315.4 MB, free: 2.348 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.0001974/0.1611, allocations: 235.8 kB / 315.6 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1612, allocations: 140.4 kB / 315.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006033/0.1618, allocations: 0.5083 MB / 316.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1618, allocations: 6.781 kB / 316.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1618, allocations: 0 / 316.2 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004958/0.1623, allocations: 0.7807 MB / 317 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.1637, allocations: 1.42 MB / 318.4 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.1637, allocations: 0 / 318.4 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002409/0.164, allocations: 108.6 kB / 318.5 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002343/0.1642, allocations: 120.6 kB / 318.7 MB, free: 284 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.1642, allocations: 15.44 kB / 318.7 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002337/0.1666, allocations: 4.165 MB / 322.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.1666, allocations: 4 kB / 322.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.1674, allocations: 0.8304 MB / 323.7 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.1676, allocations: 170.2 kB / 323.8 MB, free: 10.91 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.977e-05/0.1677, allocations: 20 kB / 323.9 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.168, allocations: 31.97 kB / 323.9 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.1681, allocations: 59.62 kB / 323.9 MB, free: 10.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.608e-05/0.1681, allocations: 19.98 kB / 324 MB, free: 10.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004936/0.1686, allocations: 0.568 MB / 324.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1686, allocations: 4 kB / 324.5 MB, free: 10.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006917/0.1693, allocations: 304 kB / 324.8 MB, free: 9.902 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.0001955/0.1695, allocations: 134.6 kB / 325 MB, free: 9.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.1705, allocations: 1.076 MB / 326 MB, free: 8.66 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.1705, allocations: 4 kB / 326 MB, free: 8.656 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004273/0.1709, allocations: 0.5692 MB / 326.6 MB, free: 8.062 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007425/0.1717, allocations: 293.5 kB / 326.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.1743, allocations: 2.048 MB / 329 MB, free: 5.715 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.1747, allocations: 201.7 kB / 329.1 MB, free: 5.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003171/0.175, allocations: 135 kB / 329.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.1752, allocations: 72.48 kB / 329.4 MB, free: 5.289 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1752, allocations: 0 / 329.4 MB, free: 5.289 MB / 282.7 MB Notification: Performance of Templates: time 0.02053/0.1957, allocations: 18.2 MB / 347.6 MB, free: 3.52 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.626108814962208]