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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 106 kB / 21.18 MB, free: 0.7188 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 189.2 kB / 24.47 MB, free: 4.094 MB / 14.72 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 1.564/1.564, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 53.33 kB / 347.7 MB, free: 9.555 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.304/0.3058, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01104/0.3168, allocations: 9.618 MB / 406.4 MB, free: 2.652 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006409/0.3232, allocations: 3.141 MB / 409.6 MB, free: 352 kB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.325, allocations: 30.5 kB / 409.6 MB, free: 344 kB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002101/0.3271, allocations: 0.6207 MB / 410.2 MB, free: 8 kB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003487/0.3306, allocations: 0.5824 MB / 410.8 MB, free: 15.59 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.3318, allocations: 332.4 kB / 411.1 MB, free: 15.39 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003231/0.335, allocations: 1.753 MB / 412.9 MB, free: 14.46 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009152/0.3359, allocations: 450.2 kB / 413.3 MB, free: 14.2 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.3373, allocations: 0.6927 MB / 414 MB, free: 13.86 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.3385, allocations: 0.7461 MB / 414.8 MB, free: 13.35 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.3388, allocations: 157.8 kB / 414.9 MB, free: 13.35 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.3392, allocations: 201.8 kB / 415.1 MB, free: 13.33 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.3395, allocations: 328 kB / 415.4 MB, free: 13.05 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.3405, allocations: 0.8078 MB / 416.3 MB, free: 12.49 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002812/0.3433, allocations: 1.999 MB / 418.3 MB, free: 10.99 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.3433, allocations: 0 / 418.3 MB, free: 10.99 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.783e-06/0.3433, allocations: 0.9688 kB / 418.3 MB, free: 10.99 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 3.358e-05/0.3433, allocations: 0 / 418.3 MB, free: 10.99 MB / 334.1 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.003905/0.3472, allocations: 1.754 MB / 420 MB, free: 9.68 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.3473, allocations: 16.58 kB / 420 MB, free: 9.672 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007231/0.348, allocations: 211.1 kB / 420.2 MB, free: 9.57 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.3496, allocations: 0.7656 MB / 421 MB, free: 8.977 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.3498, allocations: 120.2 kB / 421.1 MB, free: 8.898 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.35, allocations: 112 kB / 421.2 MB, free: 8.859 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002188/0.3521, allocations: 1.14 MB / 422.4 MB, free: 8.078 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.538e-05/0.3522, allocations: 5.359 kB / 422.4 MB, free: 8.074 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.3523, allocations: 47.69 kB / 422.4 MB, free: 8.039 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.3523, allocations: 25.41 kB / 422.4 MB, free: 8.039 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.3539, allocations: 0.7581 MB / 423.2 MB, free: 7.672 MB / 334.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0069/0.3608, allocations: 3.813 MB / 427 MB, free: 4.582 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001634/0.3624, allocations: 0.5589 MB / 427.6 MB, free: 4.219 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.3629, allocations: 240.2 kB / 427.8 MB, free: 3.98 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.782e-05/0.363, allocations: 12.48 kB / 427.8 MB, free: 3.969 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000647/0.3636, allocations: 298.1 kB / 428.1 MB, free: 3.668 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=62): time 2.835e-06/0.3636, allocations: 4 kB / 428.1 MB, free: 3.664 MB / 334.1 MB
Notification: Performance of matching and sorting (n=65): time 0.005102/0.3687, allocations: 1.868 MB / 430 MB, free: 1.758 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002803/0.369, allocations: 479.3 kB / 430.5 MB, free: 1.18 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.3707, allocations: 1.105 MB / 431.6 MB, free: 64 kB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.915e-05/0.3707, allocations: 45.64 kB / 431.6 MB, free: 12 kB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0006209/0.3714, allocations: 0.656 MB / 432.3 MB, free: 15.35 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002267/0.3716, allocations: 246 kB / 432.5 MB, free: 15.11 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002974/0.3719, allocations: 198.8 kB / 432.7 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001867/0.3721, allocations: 341.9 kB / 433 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.3727, allocations: 246.5 kB / 433.3 MB, free: 14.32 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.3737, allocations: 0.7173 MB / 434 MB, free: 13.4 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.3752, allocations: 0.9373 MB / 434.9 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.3752, allocations: 3.938 kB / 434.9 MB, free: 12.28 MB / 350.1 MB
Notification: Performance of matching and sorting (n=128) (initialization): time 0.002356/0.3776, allocations: 1.142 MB / 436.1 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.244e-05/0.3777, allocations: 59.41 kB / 436.1 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.3777, allocations: 15.94 kB / 436.1 MB, free: 11.03 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006509/0.3783, allocations: 173.7 kB / 436.3 MB, free: 10.85 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006933/0.379, allocations: 207.6 kB / 436.5 MB, free: 10.65 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004853/0.3839, allocations: 3.682 MB / 440.2 MB, free: 6.738 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3852, allocations: 71.94 kB / 440.3 MB, free: 6.668 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.577e-05/0.3852, allocations: 44 kB / 440.3 MB, free: 6.625 MB / 350.1 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.0006099/0.3858, allocations: 293.6 kB / 440.6 MB, free: 6.328 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002158/0.3861, allocations: 127.2 kB / 440.7 MB, free: 6.203 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.3877, allocations: 0.7061 MB / 441.4 MB, free: 5.48 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.443e-06/0.3877, allocations: 4 kB / 441.4 MB, free: 5.477 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.3877, allocations: 0 / 441.4 MB, free: 5.477 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001536/0.3892, allocations: 0.9512 MB / 442.4 MB, free: 4.414 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/0.3926, allocations: 1.76 MB / 444.1 MB, free: 2.582 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3926, allocations: 0 / 444.1 MB, free: 2.582 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.3931, allocations: 111.8 kB / 444.2 MB, free: 2.473 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.3936, allocations: 138 kB / 444.4 MB, free: 2.332 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.3936, allocations: 15.94 kB / 444.4 MB, free: 2.316 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00392/0.3975, allocations: 3.369 MB / 447.8 MB, free: 14.72 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3975, allocations: 4 kB / 447.8 MB, free: 14.71 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002103/0.3996, allocations: 1.053 MB / 448.8 MB, free: 13.62 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005415/0.4002, allocations: 191 kB / 449 MB, free: 13.43 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.4003, allocations: 23.98 kB / 449 MB, free: 13.41 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006187/0.401, allocations: 35.97 kB / 449.1 MB, free: 13.38 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.4011, allocations: 60.33 kB / 449.1 MB, free: 13.32 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.4011, allocations: 16 kB / 449.1 MB, free: 13.3 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.001165/0.4023, allocations: 0.7484 MB / 449.9 MB, free: 12.55 MB / 366.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4023, allocations: 0 / 449.9 MB, free: 12.55 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.001121/0.4034, allocations: 308 kB / 450.2 MB, free: 12.25 MB / 366.1 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.0002361/0.4036, allocations: 135 kB / 450.3 MB, free: 12.11 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.002137/0.4058, allocations: 1.069 MB / 451.4 MB, free: 10.98 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.4058, allocations: 4 kB / 451.4 MB, free: 10.98 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001012/0.4068, allocations: 0.5318 MB / 451.9 MB, free: 10.43 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001436/0.4082, allocations: 320.8 kB / 452.2 MB, free: 10.11 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004258/0.4125, allocations: 2.274 MB / 454.5 MB, free: 7.781 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/0.4133, allocations: 1.082 MB / 455.6 MB, free: 6.668 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0006945/0.414, allocations: 149.8 kB / 455.7 MB, free: 6.52 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/0.4142, allocations: 75.44 kB / 455.8 MB, free: 6.445 MB / 366.1 MB
Notification: Performance of SimCode: time 9.82e-07/0.4142, allocations: 0 / 455.8 MB, free: 6.445 MB / 366.1 MB
Notification: Performance of Templates: time 0.03779/0.452, allocations: 18.95 MB / 474.8 MB, free: 3.461 MB / 382.1 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=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480]
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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 658]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.538129829801619]