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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 96.3 kB / 21.73 MB, free: 2.703 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 161.4 kB / 25.02 MB, free: 8.953 MB / 18.57 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.413/1.413, allocations: 158.6 MB / 186.8 MB, free: 2.93 MB / 170.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 250.3 MB, free: 7.859 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.822e-05/3.081e-05, allocations: 6.312 kB / 250.3 MB, free: 7.852 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.0186/0.01863, allocations: 11.83 MB / 262.2 MB, free: 11.97 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01565/0.03428, allocations: 10.13 MB / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.645e-05/0.03438, allocations: 0 / 272.3 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.03471, allocations: 63.59 kB / 272.4 MB, free: 1.742 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003341/0.03505, allocations: 91.3 kB / 272.4 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01381/0.04886, allocations: 5.071 MB / 277.5 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004199/0.04928, allocations: 234.8 kB / 277.7 MB, free: 12.33 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.759e-05/0.04932, allocations: 9.625 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.04982, allocations: 219.3 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.04995, allocations: 67.8 kB / 278 MB, free: 12.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.04997, allocations: 8 kB / 278 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.06366, allocations: 6.676 MB / 284.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.596e-05/0.06374, allocations: 27.91 kB / 284.7 MB, free: 5.316 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.06387, allocations: 51.91 kB / 284.8 MB, free: 5.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01059/0.07446, allocations: 4.981 MB / 289.8 MB, free: 280 kB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.07446, allocations: 0 / 289.8 MB, free: 280 kB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.07446, allocations: 0 / 289.8 MB, free: 280 kB / 266.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.07447, allocations: 0 / 289.8 MB, free: 280 kB / 266.7 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.004927/0.0794, allocations: 1.083 MB / 290.9 MB, free: 15.16 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0002712/0.07967, allocations: 15.98 kB / 290.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005777/0.08025, allocations: 84.53 kB / 291 MB, free: 15.06 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.08064, allocations: 161.6 kB / 291.1 MB, free: 14.88 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.396e-05/0.08068, allocations: 16.36 kB / 291.1 MB, free: 14.86 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.08074, allocations: 16.33 kB / 291.1 MB, free: 14.84 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001469/0.08221, allocations: 436 kB / 291.6 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.08223, allocations: 4.125 kB / 291.6 MB, free: 14.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.08227, allocations: 11.94 kB / 291.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.08228, allocations: 4 kB / 291.6 MB, free: 14.36 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.08382, allocations: 351.6 kB / 291.9 MB, free: 14.01 MB / 282.7 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.001582/0.0854, allocations: 1.005 MB / 292.9 MB, free: 12.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009657/0.08637, allocations: 275.8 kB / 293.2 MB, free: 12.65 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.08669, allocations: 110.5 kB / 293.3 MB, free: 12.54 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09336/0.18, allocations: 25.15 MB / 318.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.1801, allocations: 42.5 kB / 318.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 2.245e-06/0.1801, allocations: 0 / 318.5 MB, free: 3.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.007706/0.1878, allocations: 1.529 MB / 320 MB, free: 1.746 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.84e-05/0.1879, allocations: 114.9 kB / 320.1 MB, free: 1.609 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.188, allocations: 121.7 kB / 320.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/0.1881, allocations: 33.7 kB / 320.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.641e-05/0.1882, allocations: 108.6 kB / 320.4 MB, free: 1.332 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001269/0.1883, allocations: 119 kB / 320.5 MB, free: 1.215 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.1884, allocations: 65.69 kB / 320.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.1886, allocations: 330.8 kB / 320.9 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/0.1891, allocations: 127.9 kB / 321 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004898/0.1896, allocations: 206.5 kB / 321.2 MB, free: 472 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009328/0.1905, allocations: 346.6 kB / 321.6 MB, free: 100 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1905, allocations: 0 / 321.6 MB, free: 100 kB / 298.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00127/0.1918, allocations: 450 kB / 322 MB, free: 15.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.1918, allocations: 4 kB / 322 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1918, allocations: 4 kB / 322 MB, free: 15.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002485/0.192, allocations: 37.06 kB / 322.1 MB, free: 15.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004996/0.1925, allocations: 87.88 kB / 322.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005156/0.1931, allocations: 0.5484 MB / 322.7 MB, free: 14.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.1934, allocations: 24.02 kB / 322.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/0.1934, allocations: 15.98 kB / 322.7 MB, free: 14.9 MB / 314.7 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.0001769/0.1936, allocations: 141.8 kB / 322.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1937, allocations: 27.91 kB / 322.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.1963, allocations: 1.498 MB / 324.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.1964, allocations: 23.95 kB / 324.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.1964, allocations: 0 / 324.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1964, allocations: 0 / 324.4 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003458/0.1998, allocations: 1.906 MB / 326.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.1998, allocations: 4 kB / 326.3 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004715/0.2003, allocations: 79.88 kB / 326.4 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.2007, allocations: 76.72 kB / 326.5 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/0.2007, allocations: 8 kB / 326.5 MB, free: 11.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007223/0.2014, allocations: 0.5992 MB / 327.1 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/0.2014, allocations: 8.016 kB / 327.1 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002789/0.2042, allocations: 1.746 MB / 328.8 MB, free: 8.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.884e-05/0.2043, allocations: 47.58 kB / 328.9 MB, free: 8.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.2043, allocations: 16.03 kB / 328.9 MB, free: 8.598 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003942/0.2047, allocations: 19.98 kB / 328.9 MB, free: 8.578 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.318e-05/0.2048, allocations: 35.88 kB / 329 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.2049, allocations: 15.98 kB / 329 MB, free: 8.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.941e-05/0.2049, allocations: 91.22 kB / 329.1 MB, free: 8.438 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2049, allocations: 4 kB / 329.1 MB, free: 8.434 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003104/0.208, allocations: 0.9708 MB / 330 MB, free: 7.461 MB / 314.7 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.004279/0.2123, allocations: 1.29 MB / 331.3 MB, free: 6.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001603/0.2139, allocations: 0.6165 MB / 331.9 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.2139, allocations: 0 / 331.9 MB, free: 5.535 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009171/0.2148, allocations: 465.1 kB / 332.4 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008249/0.2157, allocations: 85 kB / 332.5 MB, free: 5 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.2183, allocations: 1.257 MB / 333.7 MB, free: 3.703 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.2185, allocations: 212.3 kB / 333.9 MB, free: 3.473 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003802/0.2189, allocations: 137.8 kB / 334.1 MB, free: 3.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003677/0.2193, allocations: 36.48 kB / 334.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of SimCode: time 8.01e-07/0.2193, allocations: 0 / 334.1 MB, free: 3.301 MB / 314.7 MB Notification: Performance of Templates: time 0.1459/0.3652, allocations: 36.56 MB / 370.7 MB, free: 95.31 MB / 330.7 MB " [Timeout remaining time 660] 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.085531746968627]