Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.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.001356/0.001356, 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.001471/0.001471, allocations: 212.6 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.2 MB, free: 8.09 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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel")
translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|J|phi_rel0|w_rel0",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel") [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.002081/0.002081, allocations: 64.77 kB / 379 MB, free: 2.711 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2603, allocations: 53.37 MB / 432.4 MB, free: 6.984 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002357/0.2627, allocations: 1.21 MB / 433.6 MB, free: 5.77 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003464/0.2661, allocations: 2.196 MB / 435.8 MB, free: 3.566 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 2.323e-05/0.2661, allocations: 4 kB / 435.8 MB, free: 3.562 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 1.921e-05/0.2662, allocations: 7.938 kB / 435.8 MB, free: 3.555 MB / 334.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/Utilities/Examples.mo:279:3-378:24:writable] Warning: Pure function 'Modelica.Utilities.Examples.readRealParameter' contains a call to impure function 'Modelica.Utilities.Streams.readLine'.
Notification: Performance of NFTyping.typeBindings: time 0.001162/0.2673, allocations: 473.8 kB / 436.3 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 2.217e-05/0.2674, allocations: 0 / 436.3 MB, free: 3.094 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.2674, allocations: 19.91 kB / 436.3 MB, free: 3.074 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.2674, allocations: 0 / 436.3 MB, free: 3.074 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 1.852e-05/0.2675, allocations: 4 kB / 436.3 MB, free: 3.07 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 9.831e-05/0.2676, allocations: 7.938 kB / 436.3 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.2676, allocations: 0 / 436.3 MB, free: 3.062 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00079/0.2684, allocations: 0.5268 MB / 436.8 MB, free: 2.535 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.33e-05/0.2684, allocations: 3.984 kB / 436.8 MB, free: 2.531 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 2.439e-05/0.2684, allocations: 4 kB / 436.8 MB, free: 2.527 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005391/0.2689, allocations: 384.7 kB / 437.2 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2689, allocations: 0 / 437.2 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.944e-06/0.2689, allocations: 0 / 437.2 MB, free: 2.156 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.651e-06/0.2689, allocations: 0 / 437.2 MB, free: 2.156 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: 0
 * Number of variables: 0
Notification: Performance of Generate backend data structure: time 0.0004653/0.2694, allocations: 345.4 kB / 437.5 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.2694, allocations: 12.03 kB / 437.5 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.2695, allocations: 84.17 kB / 437.6 MB, free: 1.695 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.2697, allocations: 185.8 kB / 437.8 MB, free: 1.488 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.2697, allocations: 154.9 kB / 438 MB, free: 1.336 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.2698, allocations: 154.7 kB / 438.1 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 6.574e-05/0.2699, allocations: 101 kB / 438.2 MB, free: 1.078 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.2699, allocations: 79.22 kB / 438.3 MB, free: 1 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.542e-05/0.27, allocations: 158.6 kB / 438.4 MB, free: 0.8438 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.666e-05/0.27, allocations: 150.6 kB / 438.6 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.888e-05/0.2701, allocations: 150.6 kB / 438.7 MB, free: 0.5469 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.2704, allocations: 421 kB / 439.2 MB, free: 96 kB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.778e-05/0.2705, allocations: 169.1 kB / 439.3 MB, free: 15.92 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.451e-05/0.2705, allocations: 88.02 kB / 439.4 MB, free: 15.83 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.2705, allocations: 75.28 kB / 439.5 MB, free: 15.75 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.2707, allocations: 43.42 kB / 439.5 MB, free: 15.7 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=1): time 1.883e-06/0.2707, allocations: 0 / 439.5 MB, free: 15.7 MB / 350.1 MB
Notification: Performance of matching and sorting (n=1): time 0.0001279/0.2708, allocations: 37.69 kB / 439.6 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.2708, allocations: 59.34 kB / 439.6 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.55e-05/0.2709, allocations: 101.8 kB / 439.7 MB, free: 15.48 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.2709, allocations: 29.64 kB / 439.7 MB, free: 15.44 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 4.031e-05/0.271, allocations: 84.14 kB / 439.8 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 1.367e-05/0.271, allocations: 3.953 kB / 439.8 MB, free: 15.35 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.271, allocations: 13.72 kB / 439.8 MB, free: 15.33 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001198/0.2711, allocations: 310.8 kB / 440.1 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 1.069e-05/0.2712, allocations: 12.06 kB / 440.2 MB, free: 15.01 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.649e-06/0.2712, allocations: 0 / 440.2 MB, free: 15.01 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 2.397e-05/0.2712, allocations: 8.859 kB / 440.2 MB, free: 15 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2712, allocations: 0 / 440.2 MB, free: 15 MB / 350.1 MB
Notification: Performance of matching and sorting (n=1) (initialization): time 6.054e-05/0.2712, allocations: 45.56 kB / 440.2 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2713, allocations: 4 kB / 440.2 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2713, allocations: 0 / 440.2 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2713, allocations: 0 / 440.2 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.109e-05/0.2713, allocations: 4 kB / 440.2 MB, free: 14.94 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.2713, allocations: 8.078 kB / 440.2 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.2713, allocations: 0 / 440.2 MB, free: 14.93 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2713, allocations: 0 / 440.2 MB, free: 14.93 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 8.093e-05/0.2714, allocations: 109.8 kB / 440.3 MB, free: 14.81 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.242e-05/0.2714, allocations: 4 kB / 440.3 MB, free: 14.81 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.2714, allocations: 11.09 kB / 440.3 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.2715, allocations: 192 / 440.3 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.2715, allocations: 0 / 440.3 MB, free: 14.8 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.506e-05/0.2715, allocations: 3.984 kB / 440.4 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.2716, allocations: 132.7 kB / 440.5 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2716, allocations: 0 / 440.5 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-06/0.2716, allocations: 0 / 440.5 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2716, allocations: 0 / 440.5 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.2716, allocations: 4 kB / 440.5 MB, free: 14.62 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2716, allocations: 4 kB / 440.5 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2716, allocations: 0 / 440.5 MB, free: 14.61 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.144e-05/0.2717, allocations: 61.02 kB / 440.5 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.2717, allocations: 12.02 kB / 440.6 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.2717, allocations: 0 / 440.6 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.194e-05/0.2717, allocations: 0 / 440.6 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.2717, allocations: 0 / 440.6 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.2717, allocations: 0 / 440.6 MB, free: 14.52 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 4.659e-05/0.2718, allocations: 83.22 kB / 440.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.2718, allocations: 0 / 440.6 MB, free: 14.44 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0006222/0.2724, allocations: 155.5 kB / 440.8 MB, free: 14.29 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 1 ($whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 1
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.00119/0.2736, allocations: 0.4889 MB / 441.3 MB, free: 13.86 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 7.16e-05/0.2737, allocations: 4 kB / 441.3 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.2737, allocations: 0 / 441.3 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.2737, allocations: 3.938 kB / 441.3 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.2738, allocations: 16.06 kB / 441.3 MB, free: 13.83 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002341/0.274, allocations: 91 kB / 441.4 MB, free: 13.72 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2743, allocations: 0.6729 MB / 442.1 MB, free: 13.02 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 3.003e-05/0.2744, allocations: 7.984 kB / 442.1 MB, free: 13.01 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.2744, allocations: 11.44 kB / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.2744, allocations: 4 kB / 442.1 MB, free: 13 MB / 350.1 MB
Notification: Performance of Templates: time 0.007232/0.2816, allocations: 3.143 MB / 445.2 MB, free: 9.852 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Utilities/Examples/readRealParameterModel/readRealParameterModel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Utilities.Examples.readRealParameterModel.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.506386709399521]