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.001848/0.001848, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001921/0.001921, allocations: 160.8 kB / 24.27 MB, free: 156 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 1.644/1.644, allocations: 177 MB / 204.5 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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=250000,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=250000,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.483e-06/1.483e-06, allocations: 0 / 272.2 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.903e-05/3.052e-05, allocations: 2.312 kB / 272.2 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01397/0.014, allocations: 9.526 MB / 281.7 MB, free: 8.215 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006143/0.02014, allocations: 3.088 MB / 284.8 MB, free: 5.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006865/0.02083, allocations: 31.88 kB / 284.9 MB, free: 5.082 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.02233, allocations: 0.5625 MB / 285.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.02361, allocations: 0.6123 MB / 286 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000648/0.02426, allocations: 327.4 kB / 286.4 MB, free: 3.578 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.02635, allocations: 1.832 MB / 288.2 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007286/0.02708, allocations: 421.3 kB / 288.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001424/0.0285, allocations: 1.041 MB / 289.6 MB, free: 264 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1167/0.1452, allocations: 0.5659 MB / 290.2 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.1456, allocations: 158.3 kB / 290.4 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00061/0.1462, allocations: 195.2 kB / 290.5 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.1464, allocations: 345.5 kB / 290.9 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006016/0.147, allocations: 0.5605 MB / 291.4 MB, free: 16.86 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002295/0.1493, allocations: 2.014 MB / 293.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1493, allocations: 1.797 kB / 293.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1493, allocations: 0.9688 kB / 293.5 MB, free: 16.75 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.76e-05/0.1494, allocations: 0 / 293.5 MB, free: 16.75 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.003126/0.1525, allocations: 1.964 MB / 295.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.1525, allocations: 13.67 kB / 295.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006692/0.1532, allocations: 297.5 kB / 295.7 MB, free: 15.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.1544, allocations: 0.7933 MB / 296.5 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.1546, allocations: 165.4 kB / 296.7 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.1547, allocations: 119.9 kB / 296.8 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001897/0.1566, allocations: 1.668 MB / 298.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.1566, allocations: 9.734 kB / 298.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.1567, allocations: 51.95 kB / 298.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.167e-05/0.1568, allocations: 25.62 kB / 298.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001413/0.1582, allocations: 0.7211 MB / 299.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005114/0.1633, allocations: 4.113 MB / 303.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00137/0.1647, allocations: 0.5488 MB / 303.9 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.1651, allocations: 246.6 kB / 304.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.876e-05/0.1651, allocations: 12.28 kB / 304.2 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005229/0.1657, allocations: 330.2 kB / 304.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.585e-06/0.1657, allocations: 0 / 304.5 MB, free: 11.44 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.00394/0.1696, allocations: 1.85 MB / 306.4 MB, free: 10.56 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.705e-05/0.1697, allocations: 478.5 kB / 306.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/0.1708, allocations: 1.225 MB / 308.1 MB, free: 9.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.42e-05/0.1709, allocations: 48.67 kB / 308.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.1712, allocations: 0.776 MB / 308.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.1714, allocations: 261.7 kB / 309.1 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002423/0.1716, allocations: 230.2 kB / 309.4 MB, free: 8.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.1717, allocations: 0.545 MB / 309.9 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004463/0.1722, allocations: 287.4 kB / 310.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/0.173, allocations: 1.376 MB / 311.6 MB, free: 6.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.174, allocations: 1.116 MB / 312.7 MB, free: 5.238 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.174, allocations: 6.688 kB / 312.7 MB, free: 5.234 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001753/0.1757, allocations: 1.221 MB / 313.9 MB, free: 4.637 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.1758, allocations: 68.17 kB / 314 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.1758, allocations: 9.594 kB / 314 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000547/0.1763, allocations: 178.2 kB / 314.2 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005971/0.1769, allocations: 204.4 kB / 314.4 MB, free: 4.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00359/0.1805, allocations: 4.763 MB / 319.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.1816, allocations: 51.94 kB / 319.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.492e-05/0.1817, allocations: 48 kB / 319.2 MB, free: 15.62 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.0006036/0.1823, allocations: 342.2 kB / 319.5 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.1825, allocations: 139.2 kB / 319.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.1841, allocations: 0.6778 MB / 320.4 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.1841, allocations: 8 kB / 320.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1841, allocations: 0 / 320.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/0.1856, allocations: 0.9476 MB / 321.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003502/0.1891, allocations: 1.83 MB / 323.1 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.1891, allocations: 4 kB / 323.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.1896, allocations: 98.17 kB / 323.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000505/0.1901, allocations: 139.8 kB / 323.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.1902, allocations: 30.66 kB / 323.4 MB, free: 11.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00484/0.195, allocations: 4.456 MB / 327.9 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/0.195, allocations: 6.719 kB / 327.9 MB, free: 6.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002252/0.1973, allocations: 1.111 MB / 329 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/0.1978, allocations: 167.3 kB / 329.2 MB, free: 5.266 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.198, allocations: 24.12 kB / 329.2 MB, free: 5.242 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/0.1986, allocations: 31.92 kB / 329.2 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.1987, allocations: 63.7 kB / 329.3 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.066e-05/0.1988, allocations: 27.98 kB / 329.3 MB, free: 5.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00118/0.2, allocations: 0.736 MB / 330 MB, free: 4.379 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2, allocations: 0 / 330 MB, free: 4.379 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001308/0.2013, allocations: 304 kB / 330.3 MB, free: 4.082 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.0003141/0.2016, allocations: 134.4 kB / 330.5 MB, free: 3.945 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002403/0.204, allocations: 1.289 MB / 331.7 MB, free: 2.629 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.204, allocations: 7.906 kB / 331.8 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.2051, allocations: 0.6643 MB / 332.4 MB, free: 1.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.2066, allocations: 310 kB / 332.7 MB, free: 1.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004301/0.2109, allocations: 2.133 MB / 334.9 MB, free: 15.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/0.2116, allocations: 0.4891 MB / 335.3 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0004909/0.212, allocations: 139.7 kB / 335.5 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/0.2122, allocations: 72.48 kB / 335.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of SimCode: time 1.283e-06/0.2122, allocations: 0 / 335.6 MB, free: 14.75 MB / 298.7 MB Notification: Performance of Templates: time 0.03263/0.2449, allocations: 17.21 MB / 352.8 MB, free: 13.96 MB / 314.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.289574773050845]