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.0013/0.0013, allocations: 84.69 kB / 21.43 MB, free: 296 kB / 14.72 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.00149/0.00149, allocations: 164 kB / 24.7 MB, free: 3.547 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.308/1.308, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 179] 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 1.353e-06/1.353e-06, allocations: 0 / 298.9 MB, free: 8.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.302e-05/2.438e-05, allocations: 2.281 kB / 298.9 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01589/0.01591, allocations: 11.8 MB / 310.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01394/0.02986, allocations: 10.14 MB / 320.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.02997, allocations: 0 / 320.9 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003528/0.03032, allocations: 63.53 kB / 320.9 MB, free: 2.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.03063, allocations: 95.3 kB / 321 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1584/0.189, allocations: 5.058 MB / 326.1 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.1894, allocations: 243.5 kB / 326.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.87e-05/0.1894, allocations: 12.02 kB / 326.3 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004639/0.1899, allocations: 215.2 kB / 326.5 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.19, allocations: 62.7 kB / 326.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.648e-05/0.1901, allocations: 6.969 kB / 326.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01445/0.2045, allocations: 6.677 MB / 333.3 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.702e-05/0.2046, allocations: 34.56 kB / 333.3 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001445/0.2047, allocations: 50.94 kB / 333.4 MB, free: 15.14 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009813/0.2146, allocations: 4.974 MB / 338.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2146, allocations: 0 / 338.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2146, allocations: 0 / 338.3 MB, free: 13.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.2146, allocations: 0 / 338.3 MB, free: 13.59 MB / 302.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.004783/0.2193, allocations: 1.097 MB / 339.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2194, allocations: 12.36 kB / 339.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005016/0.2199, allocations: 47.44 kB / 339.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.2202, allocations: 166 kB / 339.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.047e-05/0.2202, allocations: 15.94 kB / 339.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.67e-05/0.2202, allocations: 13.59 kB / 339.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.2215, allocations: 434.9 kB / 340.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.2215, allocations: 4.969 kB / 340.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.2216, allocations: 10.88 kB / 340.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2216, allocations: 4.531 kB / 340.1 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.223, allocations: 358.9 kB / 340.5 MB, free: 12.15 MB / 302.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.001168/0.2242, allocations: 0.9955 MB / 341.5 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008069/0.225, allocations: 282.6 kB / 341.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.2252, allocations: 111.2 kB / 341.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09022/0.3154, allocations: 25.14 MB / 367 MB, free: 5.867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.3155, allocations: 38.56 kB / 367 MB, free: 5.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.315e-06/0.3155, allocations: 1.031 kB / 367 MB, free: 5.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.007779/0.3233, allocations: 1.5 MB / 368.5 MB, free: 4.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/0.3234, allocations: 122.8 kB / 368.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3235, allocations: 120.7 kB / 368.8 MB, free: 4.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.31e-05/0.3235, allocations: 37.7 kB / 368.8 MB, free: 3.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.479e-05/0.3236, allocations: 108.6 kB / 368.9 MB, free: 3.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.3237, allocations: 119.8 kB / 369 MB, free: 3.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.3238, allocations: 65.69 kB / 369.1 MB, free: 3.691 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.324, allocations: 330.8 kB / 369.4 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.3244, allocations: 127.9 kB / 369.6 MB, free: 3.234 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004943/0.3249, allocations: 202.5 kB / 369.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009318/0.3259, allocations: 341.7 kB / 370.1 MB, free: 2.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3259, allocations: 4 kB / 370.1 MB, free: 2.656 MB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001252/0.3271, allocations: 428.8 kB / 370.5 MB, free: 2.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.3271, allocations: 4 kB / 370.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.3272, allocations: 4 kB / 370.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.3274, allocations: 39.02 kB / 370.6 MB, free: 2.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.3279, allocations: 92.16 kB / 370.6 MB, free: 2.105 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004648/0.3284, allocations: 0.5472 MB / 371.2 MB, free: 1.535 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.3287, allocations: 19.98 kB / 371.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.3287, allocations: 12 kB / 371.2 MB, free: 1.504 MB / 318.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.0001852/0.3289, allocations: 145.6 kB / 371.4 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001168/0.329, allocations: 19.91 kB / 371.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.3316, allocations: 1.498 MB / 372.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/0.3316, allocations: 26.22 kB / 372.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.371e-06/0.3316, allocations: 3.938 kB / 372.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/0.3316, allocations: 3.984 kB / 372.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003474/0.3351, allocations: 1.909 MB / 374.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/0.3351, allocations: 0 / 374.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000489/0.3356, allocations: 85.83 kB / 374.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003685/0.336, allocations: 75.05 kB / 375 MB, free: 13.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.768e-05/0.336, allocations: 19.92 kB / 375 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004725/0.3365, allocations: 0.5903 MB / 375.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.3365, allocations: 0 / 375.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.3392, allocations: 1.744 MB / 377.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.418e-05/0.3392, allocations: 47.58 kB / 377.4 MB, free: 11.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.788e-05/0.3393, allocations: 8 kB / 377.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/0.3397, allocations: 28.39 kB / 377.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.3398, allocations: 35.12 kB / 377.5 MB, free: 11.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/0.3399, allocations: 15.92 kB / 377.5 MB, free: 11.19 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.992e-05/0.34, allocations: 99.2 kB / 377.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.34, allocations: 4 kB / 377.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.003766/0.3437, allocations: 0.9669 MB / 378.5 MB, free: 10.12 MB / 334.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.006457/0.3502, allocations: 1.284 MB / 379.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001753/0.3519, allocations: 0.6116 MB / 380.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.3519, allocations: 0 / 380.4 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009171/0.3529, allocations: 467.5 kB / 380.9 MB, free: 7.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009092/0.3538, allocations: 72.7 kB / 381 MB, free: 7.816 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002684/0.3564, allocations: 1.241 MB / 382.2 MB, free: 6.547 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002342/0.3567, allocations: 216.3 kB / 382.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0003818/0.3571, allocations: 132.9 kB / 382.5 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.3572, allocations: 36.47 kB / 382.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3572, allocations: 0 / 382.6 MB, free: 6.148 MB / 334.1 MB Notification: Performance of Templates: time 0.05546/0.4127, allocations: 36.39 MB / 419 MB, free: 1.754 MB / 366.1 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: 6.897792212665081]