Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.001685/0.001685, allocations: 112.4 kB / 20.43 MB, free: 1.457 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.002166/0.002166, allocations: 180.9 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater")
translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 51.92 kB / 370.9 MB, free: 9.375 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2394, allocations: 52.19 MB / 423.1 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.00611/0.2455, allocations: 4.521 MB / 427.6 MB, free: 10.14 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002168/0.2477, allocations: 1.829 MB / 429.5 MB, free: 8.301 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.242e-05/0.2477, allocations: 0 / 429.5 MB, free: 8.301 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.248, allocations: 43.69 kB / 429.5 MB, free: 8.258 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003446/0.2483, allocations: 123.2 kB / 429.6 MB, free: 8.137 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0006308/0.249, allocations: 246.4 kB / 429.9 MB, free: 7.898 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003849/0.2493, allocations: 294.9 kB / 430.2 MB, free: 7.609 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.697e-05/0.2494, allocations: 5.312 kB / 430.2 MB, free: 7.602 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.2497, allocations: 139.6 kB / 430.3 MB, free: 7.465 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.2498, allocations: 91.61 kB / 430.4 MB, free: 7.375 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.2498, allocations: 8 kB / 430.4 MB, free: 7.367 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002574/0.2501, allocations: 91.88 kB / 430.5 MB, free: 7.277 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.862e-05/0.2502, allocations: 39.89 kB / 430.5 MB, free: 7.238 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.2503, allocations: 75.66 kB / 430.6 MB, free: 7.164 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.2506, allocations: 212.6 kB / 430.8 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2506, allocations: 3.938 kB / 430.8 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.262e-06/0.2506, allocations: 0 / 430.8 MB, free: 6.957 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.049e-06/0.2506, allocations: 0 / 430.8 MB, free: 6.957 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: 34
 * Number of variables: 34
Notification: Performance of Generate backend data structure: time 0.001014/0.2517, allocations: 421.8 kB / 431.2 MB, free: 6.512 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.2517, allocations: 12.03 kB / 431.2 MB, free: 6.5 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001972/0.2519, allocations: 24.83 kB / 431.3 MB, free: 6.477 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.2522, allocations: 142.4 kB / 431.4 MB, free: 6.312 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2522, allocations: 16.59 kB / 431.4 MB, free: 6.297 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.2522, allocations: 20.33 kB / 431.4 MB, free: 6.277 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004643/0.2527, allocations: 217.6 kB / 431.6 MB, free: 6.043 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.2527, allocations: 0 / 431.6 MB, free: 6.043 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.236e-05/0.2527, allocations: 15.94 kB / 431.7 MB, free: 6.027 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.2527, allocations: 4 kB / 431.7 MB, free: 6.023 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.2531, allocations: 151.8 kB / 431.8 MB, free: 5.875 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/0.2545, allocations: 0.8947 MB / 432.7 MB, free: 4.918 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.255, allocations: 142.8 kB / 432.8 MB, free: 4.77 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.2551, allocations: 52.83 kB / 432.9 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005131/0.2557, allocations: 348 kB / 433.2 MB, free: 4.355 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.2557, allocations: 34.56 kB / 433.3 MB, free: 4.312 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.2557, allocations: 0 / 433.3 MB, free: 4.312 MB / 334.1 MB
Notification: Performance of matching and sorting (n=20): time 0.002753/0.2584, allocations: 0.6966 MB / 434 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.2585, allocations: 55.41 kB / 434 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.2586, allocations: 152.2 kB / 434.2 MB, free: 3.363 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.141e-05/0.2587, allocations: 33.7 kB / 434.2 MB, free: 3.324 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.2588, allocations: 144 kB / 434.3 MB, free: 3.18 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.2588, allocations: 75.38 kB / 434.4 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.259, allocations: 61.7 kB / 434.5 MB, free: 3.039 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001491/0.2591, allocations: 334.8 kB / 434.8 MB, free: 2.703 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.2594, allocations: 79.94 kB / 434.9 MB, free: 2.625 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.2598, allocations: 194 kB / 435.1 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006461/0.2604, allocations: 304.7 kB / 435.4 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2604, allocations: 0 / 435.4 MB, free: 2.043 MB / 334.1 MB
Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007769/0.2612, allocations: 317.4 kB / 435.7 MB, free: 1.727 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.2612, allocations: 4 kB / 435.7 MB, free: 1.723 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2612, allocations: 7.984 kB / 435.7 MB, free: 1.715 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.718e-05/0.2612, allocations: 8 kB / 435.7 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.2617, allocations: 83.83 kB / 435.8 MB, free: 1.625 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.2617, allocations: 7.938 kB / 435.8 MB, free: 1.617 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.2619, allocations: 20.2 kB / 435.8 MB, free: 1.598 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.2619, allocations: 12 kB / 435.8 MB, free: 1.586 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * 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 (37):
 * Single equations (assignments): 37
 * 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 0.0001424/0.2621, allocations: 141.6 kB / 436 MB, free: 1.438 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.612e-05/0.2621, allocations: 15.91 kB / 436 MB, free: 1.422 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007276/0.2629, allocations: 237.2 kB / 436.2 MB, free: 1.184 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.989e-06/0.2629, allocations: 15.92 kB / 436.2 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.2629, allocations: 0 / 436.2 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2629, allocations: 0 / 436.2 MB, free: 1.168 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.2643, allocations: 0.5594 MB / 436.8 MB, free: 0.5469 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2643, allocations: 7.938 kB / 436.8 MB, free: 0.5391 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003157/0.2646, allocations: 47.95 kB / 436.8 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2646, allocations: 0 / 436.8 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.503e-05/0.2647, allocations: 8 kB / 436.8 MB, free: 496 kB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.2647, allocations: 11.88 kB / 436.9 MB, free: 484 kB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.2647, allocations: 4.125 kB / 436.9 MB, free: 480 kB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009452/0.2656, allocations: 407.2 kB / 437.3 MB, free: 44 kB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.2656, allocations: 11.91 kB / 437.3 MB, free: 32 kB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.2657, allocations: 11.94 kB / 437.3 MB, free: 20 kB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002583/0.2659, allocations: 11.98 kB / 437.3 MB, free: 8 kB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.266, allocations: 23.97 kB / 437.3 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.266, allocations: 8 kB / 437.3 MB, free: 15.98 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 8.966e-05/0.2661, allocations: 111.2 kB / 437.4 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.2661, allocations: 0 / 437.4 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003924/0.2665, allocations: 63.94 kB / 437.5 MB, free: 15.8 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 1 (medium.T)
 * 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 (20):
 * Single equations (assignments): 20
 * 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.0002305/0.2667, allocations: 135.1 kB / 437.6 MB, free: 15.66 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006655/0.2674, allocations: 215.5 kB / 437.8 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2674, allocations: 192 / 437.8 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002811/0.2677, allocations: 99.19 kB / 437.9 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.2681, allocations: 31.97 kB / 438 MB, free: 15.33 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.2692, allocations: 481.1 kB / 438.4 MB, free: 14.82 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.2695, allocations: 0.7168 MB / 439.1 MB, free: 14.08 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002201/0.2698, allocations: 45.92 kB / 439.2 MB, free: 14.04 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.476e-05/0.2699, allocations: 31.36 kB / 439.2 MB, free: 14 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.2699, allocations: 0 / 439.2 MB, free: 14 MB / 350.1 MB
Notification: Performance of Templates: time 0.006847/0.2767, allocations: 2.893 MB / 442.1 MB, free: 11.13 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.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.423884736374021]