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.0009604/0.0009604, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.0008933/0.0008933, allocations: 167.8 kB / 25.33 MB, free: 9.047 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.8593/0.8593, allocations: 158.6 MB / 187.2 MB, free: 2.449 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.463e-06/1.463e-06, allocations: 0 / 251.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.443e-05/1.589e-05, allocations: 6.312 kB / 251.1 MB, free: 3.539 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009817/0.009833, allocations: 9.54 MB / 260.6 MB, free: 9.949 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004466/0.0143, allocations: 3.062 MB / 263.7 MB, free: 6.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004968/0.0148, allocations: 35.81 kB / 263.7 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001163/0.01596, allocations: 0.5626 MB / 264.3 MB, free: 6.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008818/0.01684, allocations: 0.6123 MB / 264.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004569/0.0173, allocations: 323.4 kB / 265.2 MB, free: 5.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.01874, allocations: 1.836 MB / 267 MB, free: 3.492 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005656/0.0193, allocations: 425.3 kB / 267.5 MB, free: 3.055 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009973/0.0203, allocations: 1.041 MB / 268.5 MB, free: 2.012 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006336/0.02093, allocations: 0.5647 MB / 269.1 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.0211, allocations: 156 kB / 269.2 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.02139, allocations: 200 kB / 269.4 MB, free: 1.098 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004617/0.02185, allocations: 334.7 kB / 269.7 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.02232, allocations: 0.5612 MB / 270.3 MB, free: 212 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.02343, allocations: 1.16 MB / 271.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.02343, allocations: 0 / 271.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.02343, allocations: 4 kB / 271.5 MB, free: 15.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.02344, allocations: 0 / 271.5 MB, free: 15.04 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.002228/0.02567, allocations: 1.851 MB / 273.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/0.02571, allocations: 15.98 kB / 273.3 MB, free: 13.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004861/0.0262, allocations: 295.9 kB / 273.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009346/0.02713, allocations: 0.7451 MB / 274.4 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001307/0.02726, allocations: 171.8 kB / 274.5 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001337/0.02739, allocations: 116.3 kB / 274.6 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.0288, allocations: 1.359 MB / 276 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.02883, allocations: 15.89 kB / 276 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.516e-05/0.02891, allocations: 44 kB / 276.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.02893, allocations: 24 kB / 276.1 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.02998, allocations: 427.6 kB / 276.5 MB, free: 9.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.03385, allocations: 3.325 MB / 279.8 MB, free: 6.188 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000877/0.03472, allocations: 408.3 kB / 280.2 MB, free: 5.777 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.03496, allocations: 149.5 kB / 280.4 MB, free: 5.625 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.404e-05/0.03499, allocations: 12.5 kB / 280.4 MB, free: 5.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003308/0.03532, allocations: 237.9 kB / 280.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 1.954e-06/0.03532, allocations: 0 / 280.6 MB, free: 5.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.0026/0.03792, allocations: 1.453 MB / 282.1 MB, free: 3.867 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.0381, allocations: 483.3 kB / 282.5 MB, free: 3.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/0.03939, allocations: 0.9502 MB / 283.5 MB, free: 2.312 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.03943, allocations: 37.7 kB / 283.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.03991, allocations: 0.7364 MB / 284.3 MB, free: 1.523 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001852/0.0401, allocations: 246 kB / 284.5 MB, free: 1.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002276/0.04032, allocations: 200.5 kB / 284.7 MB, free: 1.078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.04047, allocations: 0.5121 MB / 285.2 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002815/0.04075, allocations: 181.9 kB / 285.4 MB, free: 376 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000791/0.04154, allocations: 1.224 MB / 286.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008444/0.04239, allocations: 0.8739 MB / 287.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.04239, allocations: 4 kB / 287.5 MB, free: 13.63 MB / 282.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00105/0.04344, allocations: 0.9949 MB / 288.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.74e-05/0.04348, allocations: 70.19 kB / 288.6 MB, free: 12.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.04349, allocations: 16 kB / 288.6 MB, free: 12.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003382/0.04383, allocations: 153.5 kB / 288.7 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003425/0.04417, allocations: 203.7 kB / 288.9 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002895/0.04707, allocations: 4.362 MB / 293.3 MB, free: 7.551 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003506/0.04742, allocations: 67.98 kB / 293.3 MB, free: 7.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/0.04746, allocations: 44 kB / 293.4 MB, free: 7.441 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.0001967/0.04766, allocations: 228.3 kB / 293.6 MB, free: 7.207 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.04776, allocations: 139.2 kB / 293.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006358/0.0484, allocations: 0.5188 MB / 294.3 MB, free: 6.531 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.0484, allocations: 8 kB / 294.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.04841, allocations: 0 / 294.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000606/0.04901, allocations: 0.7732 MB / 295 MB, free: 5.637 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.05045, allocations: 1.418 MB / 296.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.05045, allocations: 0 / 296.5 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002375/0.05069, allocations: 103.8 kB / 296.6 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/0.05093, allocations: 119.4 kB / 296.7 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.776e-05/0.05095, allocations: 15.98 kB / 296.7 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1079/0.1588, allocations: 4.168 MB / 300.9 MB, free: 50.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.145e-06/0.1588, allocations: 1.031 kB / 300.9 MB, free: 50.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.16, allocations: 0.8197 MB / 301.7 MB, free: 50.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002884/0.1603, allocations: 166.8 kB / 301.9 MB, free: 50.44 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.948e-05/0.1603, allocations: 19.67 kB / 301.9 MB, free: 50.44 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002994/0.1606, allocations: 33.53 kB / 301.9 MB, free: 50.44 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.1608, allocations: 63.48 kB / 302 MB, free: 50.44 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.1608, allocations: 22.94 kB / 302 MB, free: 50.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005617/0.1614, allocations: 0.5692 MB / 302.6 MB, free: 50.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1614, allocations: 1.094 kB / 302.6 MB, free: 50.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007333/0.1621, allocations: 300.2 kB / 302.9 MB, free: 50.29 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.0001966/0.1623, allocations: 137.7 kB / 303 MB, free: 50.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.1634, allocations: 1.073 MB / 304.1 MB, free: 49.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1634, allocations: 1.344 kB / 304.1 MB, free: 49.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.1638, allocations: 0.5702 MB / 304.6 MB, free: 49.27 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007452/0.1645, allocations: 299.2 kB / 304.9 MB, free: 49.26 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002837/0.1674, allocations: 2.075 MB / 307 MB, free: 48.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.1676, allocations: 203.1 kB / 307.2 MB, free: 48.14 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003637/0.1679, allocations: 130.4 kB / 307.3 MB, free: 48.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.1681, allocations: 74.61 kB / 307.4 MB, free: 48.11 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1681, allocations: 4 kB / 307.4 MB, free: 48.1 MB / 282.7 MB Notification: Performance of Templates: time 0.01779/0.1859, allocations: 18.15 MB / 325.6 MB, free: 36.89 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 -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.611698428168893]