Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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.0009147/0.0009147, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.004704/0.004704, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8648/0.8648, allocations: 177 MB / 204.9 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 34.25 MB / 295.6 MB, free: 0.6641 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.517e-05, allocations: 6.281 kB / 443.4 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.2172/0.2172, allocations: 11.44 MB / 454.9 MB, free: 37.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006745/0.2179, allocations: 1.225 MB / 456.1 MB, free: 36.99 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.765e-05/0.2179, allocations: 2.781 kB / 456.1 MB, free: 36.99 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.2181, allocations: 24.03 kB / 456.1 MB, free: 36.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003469/0.2216, allocations: 2.235 MB / 458.3 MB, free: 36.13 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.06e-06/0.2216, allocations: 0 / 458.3 MB, free: 36.13 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 8.652e-05/0.2217, allocations: 45.47 kB / 458.4 MB, free: 36.1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.2217, allocations: 6.25 kB / 458.4 MB, free: 36.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.916e-05/0.2218, allocations: 22.33 kB / 458.4 MB, free: 36.1 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.646e-05/0.2218, allocations: 13.73 kB / 458.4 MB, free: 36.09 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.2218, allocations: 2.969 kB / 458.4 MB, free: 36.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003298/0.2251, allocations: 3.704 MB / 462.1 MB, free: 35.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.284e-05/0.2252, allocations: 3.938 kB / 462.1 MB, free: 35.25 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.2252, allocations: 20.33 kB / 462.2 MB, free: 35.24 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001988/0.2272, allocations: 2.558 MB / 464.7 MB, free: 34.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2272, allocations: 0 / 464.7 MB, free: 34.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.045e-06/0.2272, allocations: 2.844 kB / 464.7 MB, free: 34.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2272, allocations: 0.8438 kB / 464.7 MB, free: 34.47 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007439/0.2279, allocations: 496.3 kB / 465.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.228, allocations: 8.844 kB / 465.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.343e-05/0.2281, allocations: 12.03 kB / 465.2 MB, free: 34.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.184e-05/0.2281, allocations: 124.6 kB / 465.3 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.2281, allocations: 7.281 kB / 465.3 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.498e-06/0.2282, allocations: 3.25 kB / 465.4 MB, free: 33.96 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.2283, allocations: 92.27 kB / 465.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.679e-06/0.2283, allocations: 192 / 465.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.2283, allocations: 5.344 kB / 465.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2284, allocations: 3.219 kB / 465.4 MB, free: 33.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.2285, allocations: 42.34 kB / 465.5 MB, free: 33.88 MB / 410.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.0003378/0.2288, allocations: 299.6 kB / 465.8 MB, free: 33.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.2289, allocations: 58.89 kB / 465.8 MB, free: 33.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.713e-05/0.2289, allocations: 21.67 kB / 465.9 MB, free: 33.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009193/0.2381, allocations: 5.665 MB / 471.5 MB, free: 32.83 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.2382, allocations: 33.66 kB / 471.6 MB, free: 32.79 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 2.235e-06/0.2382, allocations: 0 / 471.6 MB, free: 32.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003347/0.2385, allocations: 120.2 kB / 471.7 MB, free: 32.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2385, allocations: 51.41 kB / 471.7 MB, free: 32.67 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.481e-05/0.2386, allocations: 99.33 kB / 471.8 MB, free: 32.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2386, allocations: 29.7 kB / 471.9 MB, free: 32.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.2386, allocations: 85.78 kB / 471.9 MB, free: 32.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.607e-05/0.2387, allocations: 15.06 kB / 472 MB, free: 32.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.483e-05/0.2387, allocations: 23.25 kB / 472 MB, free: 32.42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.005e-05/0.2387, allocations: 314.8 kB / 472.3 MB, free: 32.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.2387, allocations: 9.359 kB / 472.3 MB, free: 32.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/0.2388, allocations: 24.73 kB / 472.3 MB, free: 32.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.341e-05/0.2388, allocations: 46.31 kB / 472.4 MB, free: 32.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2388, allocations: 3.938 kB / 472.4 MB, free: 32.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.855e-05/0.2389, allocations: 62.48 kB / 472.4 MB, free: 31.99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.2389, allocations: 5.906 kB / 472.4 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2389, allocations: 0 / 472.4 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2389, allocations: 0 / 472.4 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.239, allocations: 12.03 kB / 472.4 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.239, allocations: 2.844 kB / 472.4 MB, free: 31.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.239, allocations: 3.953 kB / 472.4 MB, free: 31.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.239, allocations: 7.219 kB / 472.5 MB, free: 31.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 5.837e-05/0.2391, allocations: 120.7 kB / 472.6 MB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.2391, allocations: 2.938 kB / 472.6 MB, free: 31.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.2394, allocations: 394.3 kB / 473 MB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.2394, allocations: 3.234 kB / 473 MB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.2394, allocations: 0 / 473 MB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.2394, allocations: 6.656 kB / 473 MB, free: 31.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2395, allocations: 233.3 kB / 473.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.2395, allocations: 6.625 kB / 473.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.2396, allocations: 10.33 kB / 473.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2396, allocations: 3.531 kB / 473.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.2396, allocations: 0 / 473.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2396, allocations: 0 / 473.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2396, allocations: 0 / 473.2 MB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001484/0.2397, allocations: 286.4 kB / 473.5 MB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.2397, allocations: 18.97 kB / 473.5 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.2397, allocations: 3.406 kB / 473.5 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.2398, allocations: 7.188 kB / 473.5 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.867e-05/0.2398, allocations: 0 / 473.5 MB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.549e-06/0.2398, allocations: 3.438 kB / 473.5 MB, free: 31.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.011e-05/0.2398, allocations: 85.53 kB / 473.6 MB, free: 31.15 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2398, allocations: 0 / 473.6 MB, free: 31.15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007802/0.2406, allocations: 447.4 kB / 474.1 MB, free: 31.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($cse1.region3boundary,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001226/0.2418, allocations: 0.635 MB / 474.7 MB, free: 30.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.2419, allocations: 91.14 kB / 474.8 MB, free: 30.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2419, allocations: 0 / 474.8 MB, free: 30.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.797e-05/0.242, allocations: 66.33 kB / 474.8 MB, free: 30.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002286/0.2422, allocations: 17.09 kB / 474.9 MB, free: 30.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.2426, allocations: 322.1 kB / 475.2 MB, free: 30.61 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.427e-05/0.2427, allocations: 101.3 kB / 475.3 MB, free: 30.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.898e-05/0.2427, allocations: 11.53 kB / 475.3 MB, free: 30.53 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.2427, allocations: 0 / 475.3 MB, free: 30.53 MB / 410.7 MB Notification: Performance of Templates: time 0.01542/0.2581, allocations: 9.132 MB / 484.4 MB, free: 29.85 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.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: 5.589625310152769]