Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001296/0.001296, 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.001388/0.001388, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.453/1.453, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 64.77 kB / 379.1 MB, free: 2.617 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.238, allocations: 53.38 MB / 432.4 MB, free: 6.934 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01262/0.2506, allocations: 9.687 MB / 442.1 MB, free: 13.21 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00652/0.2571, allocations: 3.166 MB / 445.3 MB, free: 10.04 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.2586, allocations: 27.88 kB / 445.3 MB, free: 10.01 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001686/0.2603, allocations: 0.6192 MB / 445.9 MB, free: 9.387 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001531/0.2618, allocations: 0.5893 MB / 446.5 MB, free: 8.793 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0007887/0.2626, allocations: 319.5 kB / 446.8 MB, free: 8.48 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002258/0.2649, allocations: 1.763 MB / 448.6 MB, free: 6.711 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007623/0.2656, allocations: 445.4 kB / 449 MB, free: 6.246 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001067/0.2667, allocations: 0.6967 MB / 449.7 MB, free: 5.547 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009457/0.2677, allocations: 0.7506 MB / 450.5 MB, free: 4.793 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000216/0.2679, allocations: 160 kB / 450.6 MB, free: 4.637 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.2683, allocations: 196 kB / 450.8 MB, free: 4.445 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002807/0.2686, allocations: 334.8 kB / 451.2 MB, free: 4.117 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000853/0.2694, allocations: 0.8087 MB / 452 MB, free: 3.305 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002327/0.2717, allocations: 1.988 MB / 454 MB, free: 1.309 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2717, allocations: 4 kB / 454 MB, free: 1.305 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.323e-06/0.2717, allocations: 0 / 454 MB, free: 1.305 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 2.561e-05/0.2718, allocations: 4 kB / 454 MB, free: 1.301 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.003324/0.2751, allocations: 1.755 MB / 455.7 MB, free: 15.49 MB / 366.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.2751, allocations: 16.03 kB / 455.7 MB, free: 15.48 MB / 366.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005787/0.2757, allocations: 207.8 kB / 455.9 MB, free: 15.27 MB / 366.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.2771, allocations: 0.7679 MB / 456.7 MB, free: 14.48 MB / 366.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.2773, allocations: 116.4 kB / 456.8 MB, free: 14.36 MB / 366.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001731/0.2775, allocations: 116.1 kB / 456.9 MB, free: 14.24 MB / 366.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.2795, allocations: 1.142 MB / 458.1 MB, free: 13.01 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.611e-05/0.2795, allocations: 7.984 kB / 458.1 MB, free: 13 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.311e-05/0.2796, allocations: 44 kB / 458.1 MB, free: 12.96 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.619e-05/0.2796, allocations: 28 kB / 458.1 MB, free: 12.93 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/0.2812, allocations: 0.7535 MB / 458.9 MB, free: 12.18 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.006083/0.2873, allocations: 3.813 MB / 462.7 MB, free: 8.172 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.2888, allocations: 0.5461 MB / 463.3 MB, free: 7.617 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004887/0.2893, allocations: 242.7 kB / 463.5 MB, free: 7.379 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/0.2893, allocations: 24.41 kB / 463.5 MB, free: 7.352 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006306/0.29, allocations: 294.2 kB / 463.8 MB, free: 7.051 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=62): time 2.404e-06/0.29, allocations: 0 / 463.8 MB, free: 7.051 MB / 366.1 MB
Notification: Performance of matching and sorting (n=65): time 0.004681/0.2947, allocations: 1.857 MB / 465.7 MB, free: 5.16 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002719/0.2949, allocations: 483.3 kB / 466.1 MB, free: 4.578 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001546/0.2965, allocations: 1.101 MB / 467.2 MB, free: 3.465 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.2965, allocations: 45.7 kB / 467.3 MB, free: 3.414 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005866/0.2971, allocations: 0.656 MB / 467.9 MB, free: 2.75 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002104/0.2973, allocations: 246 kB / 468.2 MB, free: 2.508 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/0.2976, allocations: 194.9 kB / 468.4 MB, free: 2.312 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001849/0.2978, allocations: 341.9 kB / 468.7 MB, free: 1.973 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005578/0.2984, allocations: 254.5 kB / 469 MB, free: 1.723 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009447/0.2993, allocations: 0.7017 MB / 469.7 MB, free: 0.8164 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001433/0.3007, allocations: 0.9491 MB / 470.6 MB, free: 15.69 MB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.3007, allocations: 3.938 kB / 470.6 MB, free: 15.69 MB / 382.1 MB
Notification: Performance of matching and sorting (n=128) (initialization): time 0.002198/0.3029, allocations: 1.146 MB / 471.8 MB, free: 14.52 MB / 382.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.882e-05/0.303, allocations: 67.39 kB / 471.8 MB, free: 14.44 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.303, allocations: 12 kB / 471.8 MB, free: 14.43 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0005721/0.3036, allocations: 169.5 kB / 472 MB, free: 14.25 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/0.3043, allocations: 207.8 kB / 472.2 MB, free: 14.05 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004608/0.3089, allocations: 3.678 MB / 475.9 MB, free: 10.14 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/0.3099, allocations: 71.81 kB / 475.9 MB, free: 10.07 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.716e-05/0.3099, allocations: 47.98 kB / 476 MB, free: 10.03 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.000518/0.3105, allocations: 297.6 kB / 476.3 MB, free: 9.727 MB / 382.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/0.3106, allocations: 127.2 kB / 476.4 MB, free: 9.602 MB / 382.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.3122, allocations: 0.7098 MB / 477.1 MB, free: 8.879 MB / 382.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.3122, allocations: 11.98 kB / 477.1 MB, free: 8.867 MB / 382.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.474e-06/0.3122, allocations: 0 / 477.1 MB, free: 8.867 MB / 382.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001482/0.3137, allocations: 0.9473 MB / 478.1 MB, free: 7.809 MB / 382.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003045/0.3168, allocations: 1.756 MB / 479.8 MB, free: 5.977 MB / 382.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.3168, allocations: 128 / 479.8 MB, free: 5.977 MB / 382.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.3172, allocations: 111.8 kB / 479.9 MB, free: 5.867 MB / 382.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004548/0.3177, allocations: 125.9 kB / 480.1 MB, free: 5.738 MB / 382.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.3177, allocations: 19.98 kB / 480.1 MB, free: 5.719 MB / 382.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/0.3216, allocations: 3.389 MB / 483.5 MB, free: 2.105 MB / 382.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3216, allocations: 0 / 483.5 MB, free: 2.105 MB / 382.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00206/0.3237, allocations: 1.053 MB / 484.5 MB, free: 1.012 MB / 382.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005085/0.3242, allocations: 183.2 kB / 484.7 MB, free: 0.832 MB / 382.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.3243, allocations: 19.98 kB / 484.7 MB, free: 0.8125 MB / 382.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005927/0.3249, allocations: 35.97 kB / 484.8 MB, free: 0.7773 MB / 382.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.3251, allocations: 68.33 kB / 484.8 MB, free: 0.7109 MB / 382.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.3251, allocations: 16 kB / 484.8 MB, free: 0.6953 MB / 382.1 MB
Notification: Performance of sorting global known variables: time 0.001215/0.3263, allocations: 0.7446 MB / 485.6 MB, free: 15.94 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3263, allocations: 0 / 485.6 MB, free: 15.94 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001028/0.3274, allocations: 308 kB / 485.9 MB, free: 15.64 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.0002211/0.3276, allocations: 139 kB / 486 MB, free: 15.5 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.002109/0.3297, allocations: 1.084 MB / 487.1 MB, free: 14.37 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.3297, allocations: 0 / 487.1 MB, free: 14.37 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009655/0.3307, allocations: 0.5281 MB / 487.6 MB, free: 13.81 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/0.3319, allocations: 337 kB / 488 MB, free: 13.48 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003764/0.3357, allocations: 2.254 MB / 490.2 MB, free: 11.18 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008174/0.3365, allocations: 1.085 MB / 491.3 MB, free: 10.06 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0005291/0.337, allocations: 153.8 kB / 491.5 MB, free: 9.91 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.3372, allocations: 75.44 kB / 491.5 MB, free: 9.836 MB / 398.1 MB
Notification: Performance of SimCode: time 4.01e-07/0.3372, allocations: 0 / 491.5 MB, free: 9.836 MB / 398.1 MB
Notification: Performance of Templates: time 0.03607/0.3733, allocations: 18.99 MB / 0.4986 GB, free: 7.094 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.032753558829427]