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.0009503/0.0009503, allocations: 75.75 kB / 21.97 MB, free: 2.594 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.001252/0.001252, allocations: 161.5 kB / 25.32 MB, free: 9.121 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.9243/0.9243, allocations: 158.6 MB / 187.2 MB, free: 2.938 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 2.354e-06/2.354e-06, allocations: 0 / 251.1 MB, free: 7.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.478e-05/3.714e-05, allocations: 2.312 kB / 251.1 MB, free: 7.582 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008594/0.008631, allocations: 9.541 MB / 260.6 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005287/0.01392, allocations: 3.062 MB / 263.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.01509, allocations: 35.81 kB / 263.7 MB, free: 10.88 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001524/0.01662, allocations: 0.5703 MB / 264.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.0181, allocations: 0.6046 MB / 264.9 MB, free: 9.695 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.01877, allocations: 323.4 kB / 265.2 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002051/0.02082, allocations: 1.839 MB / 267 MB, free: 7.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007056/0.02153, allocations: 421.3 kB / 267.4 MB, free: 7.098 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.02327, allocations: 1.037 MB / 268.5 MB, free: 6.059 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009015/0.02417, allocations: 0.5648 MB / 269 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002723/0.02444, allocations: 160 kB / 269.2 MB, free: 5.336 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003891/0.02483, allocations: 203.9 kB / 269.4 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.02503, allocations: 342.7 kB / 269.7 MB, free: 4.801 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000587/0.02562, allocations: 0.5689 MB / 270.3 MB, free: 4.23 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.02706, allocations: 1.16 MB / 271.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.02706, allocations: 0 / 271.5 MB, free: 3.066 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.02707, allocations: 4 kB / 271.5 MB, free: 3.062 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.713e-05/0.02712, allocations: 0 / 271.5 MB, free: 3.062 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.002442/0.02957, allocations: 1.863 MB / 273.3 MB, free: 1.141 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.02961, allocations: 11.98 kB / 273.3 MB, free: 1.129 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004972/0.0301, allocations: 299.9 kB / 273.6 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.03114, allocations: 0.7629 MB / 274.4 MB, free: 40 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/0.03127, allocations: 163.8 kB / 274.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.03138, allocations: 124.3 kB / 274.7 MB, free: 15.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.03265, allocations: 1.367 MB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.03268, allocations: 11.92 kB / 276.1 MB, free: 14.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.402e-05/0.03273, allocations: 44 kB / 276.1 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.03275, allocations: 28 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/0.03343, allocations: 423.3 kB / 276.5 MB, free: 13.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/0.03692, allocations: 3.34 MB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/0.0377, allocations: 400.2 kB / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.03791, allocations: 149.5 kB / 280.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.69e-05/0.03795, allocations: 12.5 kB / 280.4 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002902/0.03824, allocations: 242 kB / 280.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 1.583e-06/0.03825, allocations: 0 / 280.7 MB, free: 9.344 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.002161/0.04041, allocations: 1.449 MB / 282.1 MB, free: 7.852 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001399/0.04055, allocations: 479.3 kB / 282.6 MB, free: 7.273 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008292/0.04138, allocations: 0.9464 MB / 283.5 MB, free: 6.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.04141, allocations: 37.7 kB / 283.6 MB, free: 6.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003763/0.04179, allocations: 0.7326 MB / 284.3 MB, free: 5.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000147/0.04193, allocations: 245.9 kB / 284.5 MB, free: 5.277 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001833/0.04212, allocations: 200.5 kB / 284.7 MB, free: 5.074 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.04225, allocations: 0.5121 MB / 285.2 MB, free: 4.555 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.04249, allocations: 189.9 kB / 285.4 MB, free: 4.355 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006793/0.04317, allocations: 1.224 MB / 286.7 MB, free: 2.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.04391, allocations: 0.8739 MB / 287.5 MB, free: 1.625 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.04391, allocations: 4 kB / 287.5 MB, free: 1.621 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001113/0.04503, allocations: 1.006 MB / 288.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.04507, allocations: 71.39 kB / 288.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.04508, allocations: 8 kB / 288.6 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000351/0.04544, allocations: 151.7 kB / 288.8 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003698/0.04581, allocations: 211.6 kB / 289 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002852/0.04866, allocations: 4.346 MB / 293.3 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.04917, allocations: 56.12 kB / 293.4 MB, free: 11.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.379e-05/0.04922, allocations: 52 kB / 293.4 MB, free: 11.43 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.000264/0.04948, allocations: 240.3 kB / 293.7 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.04961, allocations: 139.2 kB / 293.8 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000727/0.05033, allocations: 0.5149 MB / 294.3 MB, free: 10.52 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.05034, allocations: 8 kB / 294.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.05034, allocations: 0 / 294.3 MB, free: 10.51 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006791/0.05102, allocations: 0.781 MB / 295.1 MB, free: 9.613 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.05273, allocations: 1.418 MB / 296.5 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.05274, allocations: 0 / 296.5 MB, free: 8.113 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.053, allocations: 99.88 kB / 296.6 MB, free: 8.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002624/0.05326, allocations: 123.2 kB / 296.7 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.05329, allocations: 16 kB / 296.7 MB, free: 7.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002251/0.05554, allocations: 4.166 MB / 300.9 MB, free: 3.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.05554, allocations: 8.156 kB / 300.9 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008354/0.05638, allocations: 0.8203 MB / 301.7 MB, free: 2.586 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/0.05663, allocations: 171.2 kB / 301.9 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.05669, allocations: 20.06 kB / 301.9 MB, free: 2.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.05698, allocations: 31.98 kB / 302 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/0.05709, allocations: 64.27 kB / 302 MB, free: 2.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.05712, allocations: 20 kB / 302 MB, free: 2.285 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005323/0.05765, allocations: 0.5719 MB / 302.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.05765, allocations: 0 / 302.6 MB, free: 1.703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007635/0.05841, allocations: 304 kB / 302.9 MB, free: 1.406 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.000214/0.05863, allocations: 123.1 kB / 303 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001173/0.0598, allocations: 1.082 MB / 304.1 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.0598, allocations: 4 kB / 304.1 MB, free: 120 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004839/0.06029, allocations: 0.5713 MB / 304.7 MB, free: 15.51 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007652/0.06105, allocations: 292.7 kB / 305 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002943/0.064, allocations: 2.062 MB / 307 MB, free: 13.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.06414, allocations: 201.7 kB / 307.2 MB, free: 12.87 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003158/0.06446, allocations: 128.6 kB / 307.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.06458, allocations: 72.5 kB / 307.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of SimCode: time 1.282e-06/0.06458, allocations: 4 kB / 307.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of Templates: time 0.02158/0.08616, allocations: 17.19 MB / 324.6 MB, free: 11.47 MB / 314.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 -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.674539085943252]