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.001279/0.001279, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.001013/0.001013, allocations: 164.9 kB / 25.7 MB, free: 7.438 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.9146/0.9146, allocations: 158.6 MB / 187.6 MB, free: 2.789 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 1.492e-06/1.492e-06, allocations: 0 / 251.6 MB, free: 7.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.84e-05/1.989e-05, allocations: 6.25 kB / 251.6 MB, free: 7.188 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008053/0.008072, allocations: 9.377 MB / 261 MB, free: 13.77 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004948/0.01302, allocations: 3.147 MB / 264.1 MB, free: 10.61 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000885/0.0139, allocations: 27.88 kB / 264.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.01524, allocations: 0.5781 MB / 264.7 MB, free: 9.996 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.0164, allocations: 0.62 MB / 265.4 MB, free: 9.371 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.01689, allocations: 331.4 kB / 265.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.01826, allocations: 1.828 MB / 267.5 MB, free: 7.207 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.01876, allocations: 441.2 kB / 267.9 MB, free: 6.746 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008417/0.0196, allocations: 1.041 MB / 269 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005716/0.02017, allocations: 0.5648 MB / 269.5 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.02032, allocations: 156 kB / 269.7 MB, free: 4.984 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002568/0.02057, allocations: 200 kB / 269.9 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001641/0.02074, allocations: 338.7 kB / 270.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003705/0.02111, allocations: 0.5612 MB / 270.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009641/0.02207, allocations: 1.167 MB / 271.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.02208, allocations: 0 / 271.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02208, allocations: 0 / 271.9 MB, free: 2.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.02209, allocations: 0 / 271.9 MB, free: 2.723 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.001637/0.02373, allocations: 1.703 MB / 273.6 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.02376, allocations: 15.98 kB / 273.7 MB, free: 0.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003568/0.02412, allocations: 236.7 kB / 273.9 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006993/0.02482, allocations: 0.5865 MB / 274.5 MB, free: 112 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.02493, allocations: 167.8 kB / 274.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.426e-05/0.02502, allocations: 116.4 kB / 274.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008587/0.02588, allocations: 1.265 MB / 276 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.681e-05/0.02591, allocations: 7.938 kB / 276 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.894e-05/0.02596, allocations: 48 kB / 276.1 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.68e-05/0.02597, allocations: 28 kB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.02635, allocations: 293.8 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002695/0.02904, allocations: 2.67 MB / 279.1 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.0296, allocations: 342.5 kB / 279.4 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001231/0.02972, allocations: 114.8 kB / 279.5 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.02976, allocations: 20.42 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.02998, allocations: 211.9 kB / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 2.033e-06/0.02998, allocations: 0 / 279.7 MB, free: 10.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001677/0.03165, allocations: 1.106 MB / 280.8 MB, free: 9.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.03179, allocations: 475.2 kB / 281.3 MB, free: 8.754 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005917/0.03238, allocations: 0.8461 MB / 282.2 MB, free: 7.887 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.03241, allocations: 41.7 kB / 282.2 MB, free: 7.84 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.03265, allocations: 0.5481 MB / 282.7 MB, free: 7.285 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.03277, allocations: 241.9 kB / 283 MB, free: 7.047 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001602/0.03293, allocations: 198.7 kB / 283.2 MB, free: 6.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.03301, allocations: 345.9 kB / 283.5 MB, free: 6.504 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.03314, allocations: 146 kB / 283.7 MB, free: 6.348 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004507/0.03359, allocations: 1.009 MB / 284.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004745/0.03407, allocations: 0.691 MB / 285.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.03407, allocations: 4 kB / 285.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0007114/0.03479, allocations: 0.7554 MB / 286.1 MB, free: 3.359 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.03483, allocations: 67.39 kB / 286.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.03484, allocations: 8 kB / 286.2 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003016/0.03514, allocations: 137.8 kB / 286.3 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004053/0.03554, allocations: 223.7 kB / 286.5 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.0378, allocations: 3.005 MB / 289.5 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.03825, allocations: 51.94 kB / 289.6 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.03828, allocations: 39.98 kB / 289.6 MB, free: 15.65 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 {(5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002152/0.0385, allocations: 189.5 kB / 289.8 MB, free: 15.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.03858, allocations: 87.97 kB / 289.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000467/0.03905, allocations: 409.6 kB / 290.3 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.03905, allocations: 11.94 kB / 290.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.03905, allocations: 0 / 290.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004316/0.03949, allocations: 0.6739 MB / 291 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.04054, allocations: 0.9258 MB / 291.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.04055, allocations: 0 / 291.9 MB, free: 13.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.04082, allocations: 132 kB / 292 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002136/0.04104, allocations: 93.62 kB / 292.1 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.04107, allocations: 19.94 kB / 292.2 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.04267, allocations: 2.838 MB / 295 MB, free: 9.926 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.04267, allocations: 4 kB / 295 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.04323, allocations: 0.5884 MB / 295.6 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.04342, allocations: 111.2 kB / 295.7 MB, free: 9.184 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.04349, allocations: 12 kB / 295.7 MB, free: 9.172 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.04374, allocations: 31.98 kB / 295.7 MB, free: 9.141 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.04383, allocations: 56.39 kB / 295.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.04385, allocations: 19.92 kB / 295.8 MB, free: 9.066 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003997/0.04425, allocations: 414.8 kB / 296.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04425, allocations: 0 / 296.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006968/0.04494, allocations: 308 kB / 296.5 MB, free: 8.348 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.0001817/0.04512, allocations: 116.2 kB / 296.6 MB, free: 8.223 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008398/0.04596, allocations: 0.8909 MB / 297.5 MB, free: 7.27 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.91e-05/0.04598, allocations: 12.5 kB / 297.5 MB, free: 7.258 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004834/0.04647, allocations: 441.8 kB / 298 MB, free: 6.801 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.04711, allocations: 286.8 kB / 298.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002637/0.04975, allocations: 1.965 MB / 300.2 MB, free: 4.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.0499, allocations: 201.7 kB / 300.4 MB, free: 4.277 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003313/0.05023, allocations: 136.7 kB / 300.5 MB, free: 4.141 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005243/0.05075, allocations: 361 kB / 300.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.05075, allocations: 0 / 300.9 MB, free: 3.789 MB / 282.7 MB Notification: Performance of Templates: time 0.02475/0.0755, allocations: 18.54 MB / 319.4 MB, free: 1.246 MB / 298.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 -s gbode -gbm=radauIIA3 -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.236520277801901]