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_Temperature.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.00189/0.00189, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002465/0.002465, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 8.059 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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature")
translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [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.002026/0.002026, allocations: 60.78 kB / 379 MB, free: 2.652 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2415, allocations: 53.37 MB / 432.4 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.01071/0.2522, allocations: 8.048 MB / 440.5 MB, free: 14.88 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004942/0.2572, allocations: 2.672 MB / 443.1 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006112/0.2578, allocations: 23.94 kB / 443.2 MB, free: 12.18 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001295/0.2591, allocations: 0.5185 MB / 443.7 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000995/0.2601, allocations: 436.8 kB / 444.1 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.2606, allocations: 219.6 kB / 444.3 MB, free: 11.01 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.001451/0.262, allocations: 1.23 MB / 445.6 MB, free: 9.777 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000596/0.2626, allocations: 378.5 kB / 445.9 MB, free: 9.379 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006804/0.2633, allocations: 0.4941 MB / 446.4 MB, free: 8.883 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.2639, allocations: 0.5173 MB / 446.9 MB, free: 8.363 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.2641, allocations: 112 kB / 447 MB, free: 8.254 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002996/0.2644, allocations: 160 kB / 447.2 MB, free: 8.098 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.2645, allocations: 239.2 kB / 447.4 MB, free: 7.863 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005207/0.2651, allocations: 0.5637 MB / 448 MB, free: 7.297 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001716/0.2668, allocations: 1.474 MB / 449.5 MB, free: 5.82 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2668, allocations: 0 / 449.5 MB, free: 5.82 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.613e-06/0.2668, allocations: 0 / 449.5 MB, free: 5.82 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.362e-05/0.2668, allocations: 0 / 449.5 MB, free: 5.82 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: 214
 * Number of variables: 214
Notification: Performance of Generate backend data structure: time 0.002194/0.269, allocations: 1.264 MB / 450.7 MB, free: 4.523 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.269, allocations: 12.03 kB / 450.7 MB, free: 4.512 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007109/0.2697, allocations: 180.2 kB / 450.9 MB, free: 4.336 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.2708, allocations: 0.5842 MB / 451.5 MB, free: 3.723 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.3e-05/0.2708, allocations: 62.38 kB / 451.6 MB, free: 3.664 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.271, allocations: 87.94 kB / 451.7 MB, free: 3.578 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001432/0.2724, allocations: 0.8184 MB / 452.5 MB, free: 2.727 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.2724, allocations: 3.953 kB / 452.5 MB, free: 2.723 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.63e-05/0.2725, allocations: 40 kB / 452.5 MB, free: 2.684 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.179e-05/0.2725, allocations: 20 kB / 452.5 MB, free: 2.664 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001121/0.2736, allocations: 0.5426 MB / 453.1 MB, free: 2.125 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004718/0.2783, allocations: 3.453 MB / 456.5 MB, free: 14.44 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005378/0.2789, allocations: 222.7 kB / 456.7 MB, free: 14.21 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.2791, allocations: 112.8 kB / 456.9 MB, free: 14.1 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.283e-05/0.2792, allocations: 4 kB / 456.9 MB, free: 14.09 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.2792, allocations: 34.56 kB / 456.9 MB, free: 14.05 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=26): time 1.894e-06/0.2792, allocations: 3.938 kB / 456.9 MB, free: 14.05 MB / 366.1 MB
Notification: Performance of matching and sorting (n=29): time 0.002107/0.2813, allocations: 0.9358 MB / 457.8 MB, free: 13.07 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.2814, allocations: 89.05 kB / 457.9 MB, free: 12.97 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.2824, allocations: 0.7624 MB / 458.7 MB, free: 12.2 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2824, allocations: 29.7 kB / 458.7 MB, free: 12.16 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0004045/0.2828, allocations: 0.5267 MB / 459.2 MB, free: 11.63 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.172e-05/0.2829, allocations: 115 kB / 459.4 MB, free: 11.52 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001673/0.2831, allocations: 122.2 kB / 459.5 MB, free: 11.39 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001971/0.2833, allocations: 382.8 kB / 459.8 MB, free: 11.01 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.2836, allocations: 141.2 kB / 460 MB, free: 10.87 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005435/0.2841, allocations: 438.2 kB / 460.4 MB, free: 10.3 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009033/0.285, allocations: 0.6177 MB / 461 MB, free: 9.531 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.856e-05/0.2851, allocations: 4 kB / 461 MB, free: 9.527 MB / 366.1 MB
Notification: Performance of matching and sorting (n=79) (initialization): time 0.001186/0.2862, allocations: 0.6508 MB / 461.7 MB, free: 8.867 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.2863, allocations: 15.94 kB / 461.7 MB, free: 8.852 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.2863, allocations: 15.94 kB / 461.7 MB, free: 8.836 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001595/0.2864, allocations: 40.78 kB / 461.8 MB, free: 8.793 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.2869, allocations: 151.7 kB / 461.9 MB, free: 8.645 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.288, allocations: 1.287 MB / 463.2 MB, free: 7.242 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000494/0.2885, allocations: 44.09 kB / 463.2 MB, free: 7.199 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.2886, allocations: 35.98 kB / 463.3 MB, free: 7.164 MB / 366.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 48
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (78):
 * Single equations (assignments): 77
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003328/0.2889, allocations: 241.5 kB / 463.5 MB, free: 6.918 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.2891, allocations: 79.48 kB / 463.6 MB, free: 6.84 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007056/0.2898, allocations: 334 kB / 463.9 MB, free: 6.5 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2898, allocations: 0 / 463.9 MB, free: 6.5 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.535e-06/0.2898, allocations: 0 / 463.9 MB, free: 6.5 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.2898, allocations: 7.938 kB / 463.9 MB, free: 6.492 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001722/0.2915, allocations: 1.087 MB / 465 MB, free: 5.332 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.2915, allocations: 0 / 465 MB, free: 5.332 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.2918, allocations: 59.91 kB / 465.1 MB, free: 5.273 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 8.649e-05/0.2919, allocations: 24.84 kB / 465.1 MB, free: 5.246 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.2919, allocations: 12.22 kB / 465.1 MB, free: 5.234 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.2929, allocations: 1.275 MB / 466.4 MB, free: 3.844 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2929, allocations: 4 kB / 466.4 MB, free: 3.84 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.2939, allocations: 0.5762 MB / 467 MB, free: 3.219 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002102/0.2941, allocations: 107.4 kB / 467.1 MB, free: 3.113 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.175e-05/0.2942, allocations: 8 kB / 467.1 MB, free: 3.105 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.2945, allocations: 23.98 kB / 467.1 MB, free: 3.082 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.2946, allocations: 27.89 kB / 467.1 MB, free: 3.055 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.732e-05/0.2946, allocations: 8 kB / 467.1 MB, free: 3.047 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0007399/0.2953, allocations: 0.5186 MB / 467.6 MB, free: 2.535 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.2953, allocations: 0 / 467.6 MB, free: 2.535 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0006724/0.296, allocations: 183.8 kB / 467.8 MB, free: 2.355 MB / 366.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (28):
 * Single equations (assignments): 27
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * 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): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000214/0.2962, allocations: 117.4 kB / 467.9 MB, free: 2.234 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009829/0.2972, allocations: 473.3 kB / 468.4 MB, free: 1.762 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.2972, allocations: 0 / 468.4 MB, free: 1.762 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004087/0.2976, allocations: 243.2 kB / 468.6 MB, free: 1.512 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000969/0.2986, allocations: 189 kB / 468.8 MB, free: 1.332 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00256/0.3011, allocations: 1.497 MB / 470.3 MB, free: 15.78 MB / 382.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007124/0.3019, allocations: 0.9487 MB / 471.3 MB, free: 14.8 MB / 382.1 MB
Notification: Performance of simCode: alias equations: time 0.0003337/0.3022, allocations: 94.17 kB / 471.4 MB, free: 14.71 MB / 382.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.3023, allocations: 47.44 kB / 471.4 MB, free: 14.66 MB / 382.1 MB
Notification: Performance of SimCode: time 6.31e-07/0.3023, allocations: 0 / 471.4 MB, free: 14.66 MB / 382.1 MB
Notification: Performance of Templates: time 0.01979/0.3221, allocations: 9.027 MB / 480.4 MB, free: 5.738 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 4.870400629937649]