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.0008939/0.0008939, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001041/0.001041, allocations: 168.2 kB / 25.7 MB, free: 8.449 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.8264/0.8264, allocations: 158.6 MB / 187.6 MB, free: 2.793 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.332e-06/1.332e-06, allocations: 0 / 251.5 MB, free: 7.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.272e-05/1.406e-05, allocations: 2.312 kB / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.007019/0.007033, allocations: 9.33 MB / 260.9 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004048/0.01108, allocations: 3.15 MB / 264 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005367/0.01162, allocations: 35.81 kB / 264.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.01284, allocations: 0.5743 MB / 264.6 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009785/0.01382, allocations: 0.6122 MB / 265.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004775/0.01429, allocations: 323.4 kB / 265.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.01556, allocations: 1.836 MB / 267.4 MB, free: 7.305 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004637/0.01602, allocations: 437.3 kB / 267.8 MB, free: 6.848 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009097/0.01693, allocations: 1.044 MB / 268.9 MB, free: 5.801 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005698/0.0175, allocations: 0.5647 MB / 269.4 MB, free: 5.234 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.01765, allocations: 160 kB / 269.6 MB, free: 5.078 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002412/0.01789, allocations: 196 kB / 269.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001654/0.01806, allocations: 334.7 kB / 270.1 MB, free: 4.559 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003974/0.01845, allocations: 0.5612 MB / 270.7 MB, free: 3.996 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008986/0.01935, allocations: 1.164 MB / 271.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.01936, allocations: 0 / 271.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.01936, allocations: 0 / 271.8 MB, free: 2.828 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.01937, allocations: 0 / 271.8 MB, free: 2.828 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.001558/0.02093, allocations: 1.707 MB / 273.5 MB, free: 1.074 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.02096, allocations: 15.98 kB / 273.6 MB, free: 1.059 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003329/0.02129, allocations: 240.7 kB / 273.8 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006606/0.02195, allocations: 0.5865 MB / 274.4 MB, free: 212 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.807e-05/0.02205, allocations: 163.8 kB / 274.5 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001105/0.02216, allocations: 120.4 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008302/0.02299, allocations: 1.265 MB / 275.9 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.458e-05/0.02301, allocations: 7.938 kB / 275.9 MB, free: 14.44 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.884e-05/0.02306, allocations: 48 kB / 276 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.02308, allocations: 28 kB / 276 MB, free: 14.37 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003542/0.02343, allocations: 293.8 kB / 276.3 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.02603, allocations: 2.674 MB / 279 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.02656, allocations: 334.8 kB / 279.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.02668, allocations: 114.8 kB / 279.4 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.24e-05/0.02671, allocations: 20.44 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002018/0.02691, allocations: 211.9 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=62): time 1.803e-06/0.02691, allocations: 0 / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.001608/0.02852, allocations: 1.102 MB / 280.7 MB, free: 9.43 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.02865, allocations: 479.2 kB / 281.2 MB, free: 8.852 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005713/0.02923, allocations: 0.8422 MB / 282 MB, free: 7.988 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.316e-05/0.02926, allocations: 41.7 kB / 282.1 MB, free: 7.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.02949, allocations: 0.5481 MB / 282.6 MB, free: 7.387 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.0296, allocations: 241.9 kB / 282.9 MB, free: 7.148 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.02976, allocations: 198.7 kB / 283.1 MB, free: 6.949 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.676e-05/0.02984, allocations: 353.8 kB / 283.4 MB, free: 6.598 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001269/0.02997, allocations: 142 kB / 283.6 MB, free: 6.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004233/0.03039, allocations: 1.013 MB / 284.6 MB, free: 5.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004554/0.03085, allocations: 0.6871 MB / 285.3 MB, free: 4.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.03085, allocations: 4 kB / 285.3 MB, free: 4.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.0006697/0.03152, allocations: 0.7554 MB / 286 MB, free: 3.457 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.03156, allocations: 67.39 kB / 286.1 MB, free: 3.379 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/0.03157, allocations: 8 kB / 286.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002781/0.03185, allocations: 137.8 kB / 286.2 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.03218, allocations: 199.7 kB / 286.4 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001893/0.03407, allocations: 3.002 MB / 289.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.03441, allocations: 51.94 kB / 289.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/0.03444, allocations: 36 kB / 289.5 MB, free: 15.78 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.0001828/0.03463, allocations: 189.5 kB / 289.7 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.488e-05/0.03471, allocations: 87.91 kB / 289.8 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005614/0.03527, allocations: 413.6 kB / 290.2 MB, free: 15.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.03528, allocations: 8 kB / 290.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.03528, allocations: 0 / 290.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005283/0.03581, allocations: 0.6622 MB / 290.8 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/0.03708, allocations: 0.9335 MB / 291.8 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.03709, allocations: 4 kB / 291.8 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003036/0.03739, allocations: 103.8 kB / 291.9 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002414/0.03763, allocations: 93.84 kB / 292 MB, free: 13.11 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.03766, allocations: 19.98 kB / 292 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001837/0.0395, allocations: 2.834 MB / 294.8 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.0395, allocations: 4 kB / 294.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006453/0.04014, allocations: 0.5844 MB / 295.4 MB, free: 9.457 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.04036, allocations: 103.3 kB / 295.5 MB, free: 9.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.233e-05/0.04045, allocations: 16.09 kB / 295.5 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003439/0.0408, allocations: 39.91 kB / 295.6 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.04089, allocations: 56.39 kB / 295.6 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.04092, allocations: 12 kB / 295.6 MB, free: 9.234 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004014/0.04132, allocations: 414.8 kB / 296 MB, free: 8.816 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04132, allocations: 0 / 296 MB, free: 8.816 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0008154/0.04213, allocations: 308 kB / 296.3 MB, free: 8.516 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.000175/0.04231, allocations: 120.2 kB / 296.5 MB, free: 8.387 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009153/0.04322, allocations: 0.8823 MB / 297.3 MB, free: 7.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.342e-05/0.04325, allocations: 21.38 kB / 297.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.04366, allocations: 442 kB / 297.8 MB, free: 6.965 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008315/0.0445, allocations: 302.7 kB / 298.1 MB, free: 6.672 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002797/0.04729, allocations: 1.95 MB / 300 MB, free: 4.66 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.04746, allocations: 205.7 kB / 300.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003629/0.04783, allocations: 128.6 kB / 300.4 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005999/0.04842, allocations: 357 kB / 300.7 MB, free: 3.957 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04843, allocations: 0 / 300.7 MB, free: 3.957 MB / 282.7 MB Notification: Performance of Templates: time 0.02525/0.07368, allocations: 18.36 MB / 319.1 MB, free: 1.59 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 -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: 4.85642529791221]