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.001104/0.001104, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001523/0.002628, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001175/0.001175, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001414/0.002589, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.8782/0.8782, allocations: 158.6 MB / 171.1 MB, free: 2.574 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1517/1.03, allocations: 49.48 MB / 220.5 MB, free: 1.457 MB / 218.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.673e-06/1.673e-06, allocations: 0 / 221.9 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.184e-05/2.351e-05, allocations: 6.25 kB / 221.9 MB, free: 152 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008922/0.008946, allocations: 9.424 MB / 231.3 MB, free: 6.676 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004985/0.01393, allocations: 3.178 MB / 234.5 MB, free: 3.484 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.01465, allocations: 31.88 kB / 234.5 MB, free: 3.453 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.01565, allocations: 0.5781 MB / 235.1 MB, free: 2.871 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009323/0.01658, allocations: 0.62 MB / 235.7 MB, free: 2.246 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004395/0.01702, allocations: 319.4 kB / 236 MB, free: 1.934 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001251/0.01827, allocations: 1.844 MB / 237.8 MB, free: 84 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004889/0.01876, allocations: 441.3 kB / 238.3 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001099/0.01986, allocations: 1.208 MB / 239.5 MB, free: 14.39 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007501/0.02061, allocations: 0.5726 MB / 240.1 MB, free: 13.82 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.02085, allocations: 159.9 kB / 240.2 MB, free: 13.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003438/0.02119, allocations: 204 kB / 240.4 MB, free: 13.46 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.02134, allocations: 247.1 kB / 240.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004026/0.02174, allocations: 483.1 kB / 241.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.0228, allocations: 1.078 MB / 242.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.02282, allocations: 0 / 242.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.02282, allocations: 3.938 kB / 242.2 MB, free: 11.66 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.511e-05/0.02285, allocations: 0 / 242.2 MB, free: 11.66 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.002073/0.02493, allocations: 2.019 MB / 244.2 MB, free: 9.598 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.124e-05/0.02496, allocations: 12.03 kB / 244.2 MB, free: 9.586 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003831/0.02534, allocations: 313.8 kB / 244.5 MB, free: 9.262 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.02606, allocations: 0.5826 MB / 245.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.02617, allocations: 167.8 kB / 245.3 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.02627, allocations: 120.4 kB / 245.4 MB, free: 8.344 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.02715, allocations: 1.265 MB / 246.7 MB, free: 6.883 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.02718, allocations: 11.92 kB / 246.7 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.65e-05/0.02722, allocations: 44 kB / 246.7 MB, free: 6.828 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.02724, allocations: 28 kB / 246.8 MB, free: 6.801 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003633/0.0276, allocations: 293.8 kB / 247 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002715/0.03032, allocations: 2.694 MB / 249.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005607/0.03088, allocations: 348.6 kB / 250.1 MB, free: 3.336 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.03099, allocations: 106.8 kB / 250.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.799e-05/0.03103, allocations: 24.36 kB / 250.2 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.03125, allocations: 215.9 kB / 250.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of pre-optimization done (n=62): time 2.064e-06/0.03125, allocations: 0 / 250.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=65): time 0.001745/0.033, allocations: 1.098 MB / 251.5 MB, free: 1.84 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.03304, allocations: 64.05 kB / 251.6 MB, free: 1.766 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005874/0.03362, allocations: 0.8383 MB / 252.4 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.03366, allocations: 41.7 kB / 252.5 MB, free: 0.8594 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002529/0.03391, allocations: 0.552 MB / 253 MB, free: 308 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001171/0.03403, allocations: 249.9 kB / 253.2 MB, free: 56 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/0.03419, allocations: 190.8 kB / 253.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.74e-05/0.03429, allocations: 349.9 kB / 253.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.03442, allocations: 142 kB / 253.9 MB, free: 15.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004319/0.03485, allocations: 1.009 MB / 254.9 MB, free: 14.04 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004597/0.03531, allocations: 0.6871 MB / 255.6 MB, free: 13.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.03532, allocations: 4 kB / 255.6 MB, free: 13.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0007039/0.03602, allocations: 0.7595 MB / 256.4 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.03607, allocations: 63.41 kB / 256.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.03608, allocations: 20.08 kB / 256.5 MB, free: 12.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002974/0.03638, allocations: 129.5 kB / 256.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004024/0.03678, allocations: 243.6 kB / 256.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00199/0.03877, allocations: 3.006 MB / 259.8 MB, free: 8.742 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.03918, allocations: 52.08 kB / 259.9 MB, free: 8.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/0.03922, allocations: 48.11 kB / 259.9 MB, free: 8.645 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 {(5,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002168/0.03944, allocations: 185.5 kB / 260.1 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.369e-05/0.03952, allocations: 87.91 kB / 260.2 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004494/0.03997, allocations: 405.5 kB / 260.6 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.03998, allocations: 11.94 kB / 260.6 MB, free: 7.941 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.03998, allocations: 4 kB / 260.6 MB, free: 7.938 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004158/0.0404, allocations: 0.6662 MB / 261.3 MB, free: 7.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001065/0.04146, allocations: 0.9297 MB / 262.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.04146, allocations: 0 / 262.2 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.04174, allocations: 127.8 kB / 262.3 MB, free: 6.051 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001808/0.04192, allocations: 103.3 kB / 262.4 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00021/0.04213, allocations: 113.7 kB / 262.5 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.04215, allocations: 12 kB / 262.5 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001582/0.04373, allocations: 2.842 MB / 265.4 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.04374, allocations: 3.938 kB / 265.4 MB, free: 2.805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.04424, allocations: 0.5884 MB / 266 MB, free: 2.172 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.601e-05/0.04432, allocations: 12 kB / 266 MB, free: 2.16 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.04455, allocations: 31.97 kB / 266 MB, free: 2.129 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.962e-05/0.04463, allocations: 60.33 kB / 266.1 MB, free: 2.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.019e-05/0.04465, allocations: 24 kB / 266.1 MB, free: 2.047 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002987/0.04495, allocations: 406.9 kB / 266.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.04495, allocations: 0 / 266.5 MB, free: 1.637 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006547/0.04561, allocations: 311.9 kB / 266.8 MB, free: 1.332 MB / 266.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.000183/0.04579, allocations: 116.3 kB / 266.9 MB, free: 1.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008601/0.04665, allocations: 0.8814 MB / 267.8 MB, free: 276 kB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.313e-05/0.04668, allocations: 28.41 kB / 267.8 MB, free: 248 kB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.04704, allocations: 448 kB / 268.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006966/0.04774, allocations: 398.5 kB / 268.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.05982, allocations: 2.075 MB / 270.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.06001, allocations: 213.7 kB / 270.9 MB, free: 13.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004686/0.06048, allocations: 128.8 kB / 271.1 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004948/0.06098, allocations: 365 kB / 271.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.914e-06/0.06098, allocations: 0 / 271.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of Templates: time 0.1222/0.1832, allocations: 19.79 MB / 291.2 MB, free: 45.98 MB / 282.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 -ignoreHideResult -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: 4.701193022541702]