Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.001681/0.001681, allocations: 106 kB / 21.18 MB, free: 0.707 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.001997/0.001997, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 52.39 kB / 347.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.245, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01314/0.2581, allocations: 13.04 MB / 409.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01473/0.2729, allocations: 11.62 MB / 421.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001462/0.273, allocations: 1.062 kB / 421.4 MB, free: 7.473 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.2734, allocations: 68.97 kB / 421.5 MB, free: 7.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003325/0.2737, allocations: 84.98 kB / 421.6 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01506/0.2888, allocations: 5.073 MB / 426.7 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004213/0.2892, allocations: 237.4 kB / 426.9 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.217e-05/0.2893, allocations: 6.516 kB / 426.9 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004442/0.2897, allocations: 199.8 kB / 427.1 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.2898, allocations: 79.98 kB / 427.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.2899, allocations: 8.531 kB / 427.2 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01395/0.3038, allocations: 7.009 MB / 434.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.434e-05/0.3039, allocations: 27.91 kB / 434.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.304, allocations: 67.73 kB / 434.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009913/0.314, allocations: 3.878 MB / 438.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/0.314, allocations: 0 / 438.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.314, allocations: 0 / 438.2 MB, free: 9.965 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.314, allocations: 0 / 438.2 MB, free: 9.965 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005107/0.3191, allocations: 1.091 MB / 439.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3191, allocations: 11.98 kB / 439.3 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005049/0.3196, allocations: 52.8 kB / 439.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.32, allocations: 166.3 kB / 439.5 MB, free: 8.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3201, allocations: 8.375 kB / 439.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.3201, allocations: 16.38 kB / 439.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.3214, allocations: 388 kB / 439.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.3214, allocations: 3.938 kB / 439.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/0.3214, allocations: 8 kB / 439.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.3215, allocations: 4 kB / 439.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.3229, allocations: 359.5 kB / 440.3 MB, free: 7.789 MB / 350.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.001534/0.3244, allocations: 1.156 MB / 441.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009058/0.3253, allocations: 271.8 kB / 441.7 MB, free: 6.246 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002808/0.3256, allocations: 110.8 kB / 441.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08709/0.4127, allocations: 25.05 MB / 466.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.993e-05/0.4127, allocations: 42.55 kB / 466.9 MB, free: 13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=23): time 2.505e-06/0.4127, allocations: 0 / 466.9 MB, free: 13 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.007192/0.4199, allocations: 1.5 MB / 468.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.503e-05/0.42, allocations: 114.8 kB / 468.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.4201, allocations: 118.1 kB / 468.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.4202, allocations: 29.7 kB / 468.6 MB, free: 11.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.736e-05/0.4202, allocations: 108.7 kB / 468.7 MB, free: 11.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.4204, allocations: 127 kB / 468.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.4205, allocations: 65.62 kB / 468.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.4207, allocations: 330.8 kB / 469.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.4211, allocations: 127.9 kB / 469.4 MB, free: 10.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/0.4215, allocations: 202.5 kB / 469.6 MB, free: 10.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008263/0.4224, allocations: 350.5 kB / 469.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4224, allocations: 0 / 469.9 MB, free: 9.812 MB / 382.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001103/0.4235, allocations: 430 kB / 470.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.4235, allocations: 8 kB / 470.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4235, allocations: 0 / 470.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002436/0.4237, allocations: 40.78 kB / 470.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00047/0.4242, allocations: 88.03 kB / 470.5 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004667/0.4247, allocations: 0.5523 MB / 471 MB, free: 8.668 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002829/0.425, allocations: 20.02 kB / 471 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.861e-05/0.425, allocations: 19.98 kB / 471.1 MB, free: 8.629 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001642/0.4252, allocations: 139.8 kB / 471.2 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4253, allocations: 15.91 kB / 471.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.4276, allocations: 1.49 MB / 472.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/0.4276, allocations: 27.95 kB / 472.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.4276, allocations: 3.984 kB / 472.7 MB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.4276, allocations: 4.031 kB / 472.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.4308, allocations: 2.013 MB / 474.8 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.4309, allocations: 0 / 474.8 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004636/0.4313, allocations: 87.92 kB / 474.8 MB, free: 4.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.4316, allocations: 76.81 kB / 474.9 MB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.4317, allocations: 15.98 kB / 474.9 MB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004675/0.4322, allocations: 0.5836 MB / 475.5 MB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.4322, allocations: 4.125 kB / 475.5 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/0.4347, allocations: 1.737 MB / 477.3 MB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.958e-05/0.4347, allocations: 55.47 kB / 477.3 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.161e-05/0.4348, allocations: 16 kB / 477.3 MB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.4352, allocations: 19.92 kB / 477.3 MB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.4352, allocations: 35.88 kB / 477.4 MB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.4353, allocations: 19.98 kB / 477.4 MB, free: 2.145 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.969e-05/0.4353, allocations: 95.2 kB / 477.5 MB, free: 2.051 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4353, allocations: 0 / 477.5 MB, free: 2.051 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002616/0.438, allocations: 0.9592 MB / 478.5 MB, free: 1.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 11 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004047/0.442, allocations: 1.149 MB / 479.6 MB, free: 15.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.4435, allocations: 0.6089 MB / 480.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.4435, allocations: 4 kB / 480.2 MB, free: 15.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009001/0.4444, allocations: 460.7 kB / 480.7 MB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.4452, allocations: 76.27 kB / 480.7 MB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.4477, allocations: 1.335 MB / 482.1 MB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.4482, allocations: 0.8219 MB / 482.9 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003939/0.4486, allocations: 141.7 kB / 483 MB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000129/0.4488, allocations: 31.42 kB / 483.1 MB, free: 12.4 MB / 398.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4488, allocations: 3.938 kB / 483.1 MB, free: 12.39 MB / 398.1 MB Notification: Performance of Templates: time 0.05343/0.5022, allocations: 36.82 MB / 0.5077 GB, free: 7.504 MB / 430.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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: 7.17939030751586]