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.001016/0.001016, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001364/0.00238, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001026/0.001026, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001264/0.00229, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 1.012/1.012, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08107/1.093, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.2549/0.2549, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02353/0.2784, allocations: 13.23 MB / 292.6 MB, free: 6.484 MB / 282.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.503e-06/1.503e-06, allocations: 0 / 293.8 MB, free: 5.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.434e-05/1.584e-05, allocations: 3.516 kB / 293.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.0115/0.01152, allocations: 12.57 MB / 306.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.01253, allocations: 1.386 MB / 307.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.841e-05/0.01256, allocations: 0 / 307.8 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.225e-05/0.01265, allocations: 27.83 kB / 307.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.01595, allocations: 1.987 MB / 309.8 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.647e-06/0.01596, allocations: 0 / 309.8 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.063e-05/0.01604, allocations: 47.61 kB / 309.9 MB, free: 5.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.639e-05/0.01608, allocations: 4 kB / 309.9 MB, free: 5.145 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.01617, allocations: 31.89 kB / 309.9 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.0162, allocations: 11.94 kB / 309.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.01621, allocations: 0 / 309.9 MB, free: 5.102 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004075/0.02029, allocations: 3.957 MB / 313.9 MB, free: 1.141 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.0203, allocations: 4 kB / 313.9 MB, free: 1.137 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.945e-05/0.02032, allocations: 11.94 kB / 313.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001783/0.0221, allocations: 1.93 MB / 315.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/0.02212, allocations: 0 / 315.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.02212, allocations: 0 / 315.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.02213, allocations: 0 / 315.8 MB, free: 15.19 MB / 314.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.0007601/0.02289, allocations: 0.6769 MB / 316.5 MB, free: 14.47 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.02293, allocations: 12.91 kB / 316.5 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.02303, allocations: 20.86 kB / 316.5 MB, free: 14.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.671e-05/0.02311, allocations: 105.8 kB / 316.6 MB, free: 14.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.02312, allocations: 8.375 kB / 316.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.794e-06/0.02313, allocations: 4.375 kB / 316.6 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.02327, allocations: 91.84 kB / 316.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.02328, allocations: 192 / 316.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.02329, allocations: 4.125 kB / 316.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.02329, allocations: 0 / 316.7 MB, free: 14.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.297e-05/0.02336, allocations: 39.95 kB / 316.8 MB, free: 14.16 MB / 314.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.0002583/0.02362, allocations: 256.4 kB / 317 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.416e-05/0.02372, allocations: 46.55 kB / 317.1 MB, free: 13.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.807e-05/0.02373, allocations: 12.94 kB / 317.1 MB, free: 13.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01029/0.03403, allocations: 7.04 MB / 324.1 MB, free: 6.77 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.03405, allocations: 30.56 kB / 324.1 MB, free: 6.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.03405, allocations: 8 kB / 324.1 MB, free: 6.723 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002266/0.03428, allocations: 97.73 kB / 324.2 MB, free: 6.621 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.03432, allocations: 55.41 kB / 324.3 MB, free: 6.555 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.853e-05/0.03438, allocations: 114.6 kB / 324.4 MB, free: 6.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.03439, allocations: 29.64 kB / 324.4 MB, free: 6.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.03444, allocations: 92.02 kB / 324.5 MB, free: 6.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.049e-05/0.03445, allocations: 11.91 kB / 324.5 MB, free: 6.289 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/0.03447, allocations: 17.72 kB / 324.6 MB, free: 6.266 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.195e-05/0.03455, allocations: 322.8 kB / 324.9 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-06/0.03455, allocations: 0 / 324.9 MB, free: 5.941 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.051e-05/0.03457, allocations: 26.58 kB / 324.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.596e-05/0.03461, allocations: 38.5 kB / 324.9 MB, free: 5.859 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.03461, allocations: 4 kB / 324.9 MB, free: 5.855 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.328e-05/0.03466, allocations: 57.55 kB / 325 MB, free: 5.793 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.03468, allocations: 4 kB / 325 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.03468, allocations: 0 / 325 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.687e-06/0.03469, allocations: 0 / 325 MB, free: 5.789 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.03474, allocations: 12 kB / 325 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.03474, allocations: 0 / 325 MB, free: 5.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.932e-05/0.03476, allocations: 16.02 kB / 325 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.03476, allocations: 0 / 325 MB, free: 5.762 MB / 314.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.252e-05/0.03482, allocations: 121.8 kB / 325.1 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.142e-05/0.03483, allocations: 3.938 kB / 325.2 MB, free: 5.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001954/0.03502, allocations: 264.6 kB / 325.4 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.03503, allocations: 4 kB / 325.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.03503, allocations: 0 / 325.4 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.03504, allocations: 3.984 kB / 325.4 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.03516, allocations: 133.9 kB / 325.5 MB, free: 5.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.03516, allocations: 4 kB / 325.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.03518, allocations: 8 kB / 325.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.03519, allocations: 19.84 kB / 325.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.03519, allocations: 3.938 kB / 325.6 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-06/0.03519, allocations: 3.938 kB / 325.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.0352, allocations: 0 / 325.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.0352, allocations: 0 / 325.6 MB, free: 5.168 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.03533, allocations: 270.2 kB / 325.9 MB, free: 4.891 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.03533, allocations: 7.938 kB / 325.9 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.457e-05/0.03536, allocations: 0 / 325.9 MB, free: 4.883 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.262e-05/0.03537, allocations: 4 kB / 325.9 MB, free: 4.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.465e-06/0.03537, allocations: 4 kB / 325.9 MB, free: 4.875 MB / 314.7 MB Notification: Performance of sorting global known variables: time 1.048e-05/0.03538, allocations: 12.84 kB / 325.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03538, allocations: 0 / 325.9 MB, free: 4.859 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009004/0.03629, allocations: 447.4 kB / 326.3 MB, free: 4.422 MB / 314.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.00111/0.0374, allocations: 0.6688 MB / 327 MB, free: 3.746 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.255e-05/0.03748, allocations: 52.78 kB / 327 MB, free: 3.691 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.03748, allocations: 0 / 327 MB, free: 3.691 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.03752, allocations: 40.83 kB / 327.1 MB, free: 3.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001753/0.03769, allocations: 11.98 kB / 327.1 MB, free: 3.637 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.03921, allocations: 303.7 kB / 327.4 MB, free: 3.309 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.03925, allocations: 72.08 kB / 327.5 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.425e-05/0.0393, allocations: 27.62 kB / 327.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.014e-05/0.03935, allocations: 67.36 kB / 327.5 MB, free: 3.129 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.03936, allocations: 0 / 327.5 MB, free: 3.129 MB / 314.7 MB Notification: Performance of Templates: time 0.01385/0.0532, allocations: 15.33 MB / 342.9 MB, free: 3.805 MB / 330.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1788018718361855]