Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001537/0.001537, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 230.3 MB / 258 MB, free: 8.246 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002963/0.002963, allocations: 63.84 kB / 378.8 MB, free: 2.773 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2925, allocations: 53.36 MB / 432.1 MB, free: 7.07 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01211/0.3046, allocations: 9.685 MB / 441.8 MB, free: 13.34 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005809/0.3104, allocations: 3.162 MB / 445 MB, free: 10.17 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007969/0.3112, allocations: 35.81 kB / 445 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001463/0.3126, allocations: 0.6096 MB / 445.6 MB, free: 9.523 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001191/0.3138, allocations: 0.5893 MB / 446.2 MB, free: 8.93 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006557/0.3145, allocations: 319.4 kB / 446.5 MB, free: 8.617 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001961/0.3165, allocations: 1.781 MB / 448.3 MB, free: 6.832 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007268/0.3172, allocations: 449.4 kB / 448.8 MB, free: 6.363 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0009727/0.3182, allocations: 0.6928 MB / 449.4 MB, free: 5.668 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009404/0.3191, allocations: 0.7428 MB / 450.2 MB, free: 4.922 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0002178/0.3193, allocations: 160 kB / 450.3 MB, free: 4.766 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.3197, allocations: 200 kB / 450.5 MB, free: 4.57 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.32, allocations: 330.8 kB / 450.9 MB, free: 4.246 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0008264/0.3208, allocations: 0.8087 MB / 451.7 MB, free: 3.434 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002519/0.3234, allocations: 1.996 MB / 453.7 MB, free: 1.43 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3234, allocations: 0 / 453.7 MB, free: 1.43 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.613e-06/0.3234, allocations: 0 / 453.7 MB, free: 1.43 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.871e-05/0.3234, allocations: 0 / 453.7 MB, free: 1.43 MB / 350.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.003368/0.3268, allocations: 1.758 MB / 455.4 MB, free: 15.62 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3268, allocations: 8.031 kB / 455.4 MB, free: 15.61 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005827/0.3274, allocations: 207.9 kB / 455.6 MB, free: 15.41 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.3288, allocations: 0.768 MB / 456.4 MB, free: 14.61 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.329, allocations: 112.4 kB / 456.5 MB, free: 14.49 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.3291, allocations: 113.5 kB / 456.6 MB, free: 14.38 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.3312, allocations: 1.142 MB / 457.8 MB, free: 13.15 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.302e-05/0.3312, allocations: 3.984 kB / 457.8 MB, free: 13.14 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.861e-05/0.3313, allocations: 48 kB / 457.8 MB, free: 13.1 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.3313, allocations: 31.94 kB / 457.9 MB, free: 13.07 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.3329, allocations: 0.7574 MB / 458.6 MB, free: 12.31 MB / 366.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.00589/0.3388, allocations: 3.813 MB / 462.4 MB, free: 8.305 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.3405, allocations: 0.5501 MB / 463 MB, free: 7.746 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005335/0.341, allocations: 250.6 kB / 463.2 MB, free: 7.5 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.459e-05/0.3411, allocations: 12.42 kB / 463.2 MB, free: 7.484 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006763/0.3417, allocations: 302.2 kB / 463.5 MB, free: 7.176 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=62): time 2.695e-06/0.3417, allocations: 4 kB / 463.5 MB, free: 7.172 MB / 366.1 MB
Notification: Performance of matching and sorting (n=65): time 0.004932/0.3467, allocations: 1.857 MB / 465.4 MB, free: 5.281 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002871/0.347, allocations: 475.3 kB / 465.8 MB, free: 4.707 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00166/0.3486, allocations: 1.109 MB / 467 MB, free: 3.586 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.3487, allocations: 37.7 kB / 467 MB, free: 3.543 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005918/0.3493, allocations: 0.6677 MB / 467.7 MB, free: 2.867 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.3495, allocations: 238 kB / 467.9 MB, free: 2.633 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.3498, allocations: 202.8 kB / 468.1 MB, free: 2.43 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.000168/0.35, allocations: 341.9 kB / 468.4 MB, free: 2.09 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.3505, allocations: 246.5 kB / 468.7 MB, free: 1.848 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009481/0.3515, allocations: 0.7095 MB / 469.4 MB, free: 0.9336 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.3529, allocations: 0.9373 MB / 470.3 MB, free: 15.82 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.386e-06/0.353, allocations: 8 kB / 470.3 MB, free: 15.81 MB / 382.1 MB
Notification: Performance of matching and sorting (n=128) (initialization): time 0.002179/0.3551, allocations: 1.138 MB / 471.5 MB, free: 14.65 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.362e-05/0.3552, allocations: 71.39 kB / 471.5 MB, free: 14.57 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.3552, allocations: 12 kB / 471.5 MB, free: 14.55 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.3558, allocations: 173.7 kB / 471.7 MB, free: 14.38 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007078/0.3565, allocations: 203.6 kB / 471.9 MB, free: 14.18 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.3611, allocations: 3.686 MB / 475.6 MB, free: 10.27 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009014/0.362, allocations: 64.05 kB / 475.7 MB, free: 10.21 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.828e-05/0.362, allocations: 48 kB / 475.7 MB, free: 10.16 MB / 382.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.0005101/0.3625, allocations: 301.5 kB / 476 MB, free: 9.855 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.3627, allocations: 127.2 kB / 476.1 MB, free: 9.73 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.3643, allocations: 0.7021 MB / 476.8 MB, free: 9.012 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/0.3643, allocations: 11.98 kB / 476.8 MB, free: 9 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.3643, allocations: 0 / 476.8 MB, free: 9 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001645/0.366, allocations: 0.9512 MB / 477.8 MB, free: 7.938 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.369, allocations: 1.756 MB / 479.5 MB, free: 6.109 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.263e-06/0.369, allocations: 4 kB / 479.5 MB, free: 6.105 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000499/0.3695, allocations: 112.2 kB / 479.7 MB, free: 5.996 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004592/0.3699, allocations: 125.6 kB / 479.8 MB, free: 5.867 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.37, allocations: 15.98 kB / 479.8 MB, free: 5.852 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004071/0.3741, allocations: 3.389 MB / 483.2 MB, free: 2.238 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3741, allocations: 0 / 483.2 MB, free: 2.238 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002146/0.3762, allocations: 1.049 MB / 484.2 MB, free: 1.148 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000442/0.3766, allocations: 195 kB / 484.4 MB, free: 0.957 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.3768, allocations: 23.98 kB / 484.4 MB, free: 0.9336 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006257/0.3774, allocations: 31.97 kB / 484.5 MB, free: 0.9023 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.3776, allocations: 56.39 kB / 484.5 MB, free: 0.8477 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.3776, allocations: 20 kB / 484.6 MB, free: 0.8281 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.001064/0.3787, allocations: 0.7445 MB / 485.3 MB, free: 80 kB / 382.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.3787, allocations: 4 kB / 485.3 MB, free: 76 kB / 382.1 MB
Notification: Performance of remove unused functions: time 0.001043/0.3797, allocations: 308 kB / 485.6 MB, free: 15.77 MB / 398.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.0002334/0.3799, allocations: 138.6 kB / 485.7 MB, free: 15.63 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.002054/0.382, allocations: 1.072 MB / 486.8 MB, free: 14.51 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.382, allocations: 4 kB / 486.8 MB, free: 14.51 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009703/0.383, allocations: 0.5438 MB / 487.4 MB, free: 13.93 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.3843, allocations: 327.9 kB / 487.7 MB, free: 13.61 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.388, allocations: 2.257 MB / 489.9 MB, free: 11.3 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007358/0.3887, allocations: 1.082 MB / 491 MB, free: 10.2 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0004896/0.3892, allocations: 145.8 kB / 491.2 MB, free: 10.05 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002014/0.3894, allocations: 79.44 kB / 491.2 MB, free: 9.973 MB / 398.1 MB
Notification: Performance of SimCode: time 3.91e-07/0.3894, allocations: 4 kB / 491.2 MB, free: 9.969 MB / 398.1 MB
Notification: Performance of Templates: time 0.03514/0.4246, allocations: 18.98 MB / 0.4983 GB, free: 7.211 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 659]
Reference file matches
[Calling sys.exit(0), Time elapsed: 8.37203083280474]