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.000985/0.000985, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.0009252/0.0009252, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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.9596/0.9596, allocations: 177 MB / 204.8 MB, free: 5.582 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.2774/0.2774, allocations: 34.86 MB / 296.3 MB, free: 0.5547 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.332e-06/1.332e-06, allocations: 0 / 378.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.304e-05/2.438e-05, allocations: 3.578 kB / 378.7 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01117/0.01119, allocations: 12.51 MB / 391.3 MB, free: 5.555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.01215, allocations: 1.39 MB / 392.6 MB, free: 4.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.01218, allocations: 0 / 392.6 MB, free: 4.16 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.01234, allocations: 23.83 kB / 392.7 MB, free: 4.137 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003235/0.01558, allocations: 2.23 MB / 394.9 MB, free: 1.898 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.007e-06/0.01558, allocations: 4 kB / 394.9 MB, free: 1.895 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 7.616e-05/0.01566, allocations: 39.67 kB / 394.9 MB, free: 1.855 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.01569, allocations: 11.94 kB / 394.9 MB, free: 1.844 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.01578, allocations: 19.98 kB / 395 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.711e-05/0.01582, allocations: 15.91 kB / 395 MB, free: 1.809 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.01583, allocations: 4 kB / 395 MB, free: 1.805 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.0195, allocations: 3.702 MB / 398.7 MB, free: 14.1 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.322e-05/0.01951, allocations: 7.969 kB / 398.7 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.648e-05/0.01954, allocations: 11.94 kB / 398.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002176/0.02172, allocations: 2.569 MB / 401.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.02172, allocations: 0 / 401.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.02172, allocations: 0 / 401.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.02173, allocations: 4 kB / 401.3 MB, free: 11.5 MB / 378.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.0007674/0.02249, allocations: 0.5888 MB / 401.9 MB, free: 10.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.02253, allocations: 8.031 kB / 401.9 MB, free: 10.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.02266, allocations: 20.88 kB / 401.9 MB, free: 10.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.862e-05/0.02274, allocations: 116.6 kB / 402 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.02275, allocations: 4.375 kB / 402 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.02276, allocations: 4.375 kB / 402 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.02292, allocations: 93.52 kB / 402.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.02293, allocations: 192 / 402.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.02295, allocations: 8.125 kB / 402.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.02295, allocations: 0 / 402.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.546e-05/0.02304, allocations: 39.95 kB / 402.2 MB, free: 10.55 MB / 378.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.0003802/0.02342, allocations: 406.6 kB / 402.6 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001064/0.02352, allocations: 74.97 kB / 402.6 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.431e-05/0.02355, allocations: 11.69 kB / 402.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008898/0.03245, allocations: 5.637 MB / 408.3 MB, free: 4.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.03247, allocations: 41.31 kB / 408.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.03247, allocations: 0 / 408.3 MB, free: 4.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002839/0.03276, allocations: 117.5 kB / 408.4 MB, free: 4.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.651e-05/0.03278, allocations: 51.41 kB / 408.5 MB, free: 4.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.129e-05/0.03286, allocations: 162.1 kB / 408.6 MB, free: 3.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.03287, allocations: 25.7 kB / 408.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.951e-05/0.03292, allocations: 138.8 kB / 408.8 MB, free: 3.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.03294, allocations: 19.78 kB / 408.8 MB, free: 3.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.03297, allocations: 23.38 kB / 408.8 MB, free: 3.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.03309, allocations: 0.4884 MB / 409.3 MB, free: 3.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.215e-05/0.0331, allocations: 4 kB / 409.3 MB, free: 3.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.966e-05/0.03313, allocations: 39 kB / 409.4 MB, free: 3.184 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.256e-05/0.03318, allocations: 51.22 kB / 409.4 MB, free: 3.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.03319, allocations: 3.938 kB / 409.4 MB, free: 3.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.174e-05/0.03326, allocations: 65.58 kB / 409.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.03327, allocations: 8 kB / 409.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.03328, allocations: 0 / 409.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.0333, allocations: 0 / 409.5 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.03335, allocations: 15.92 kB / 409.5 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.03336, allocations: 4 kB / 409.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.03337, allocations: 0 / 409.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.03338, allocations: 8.062 kB / 409.5 MB, free: 3.012 MB / 378.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 6.335e-05/0.03345, allocations: 160.5 kB / 409.7 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.03346, allocations: 4 kB / 409.7 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002251/0.03369, allocations: 241.3 kB / 409.9 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.03369, allocations: 11.98 kB / 409.9 MB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.0337, allocations: 3.938 kB / 409.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.0337, allocations: 0 / 409.9 MB, free: 2.578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001358/0.03384, allocations: 185.3 kB / 410.1 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.03384, allocations: 3.938 kB / 410.1 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.757e-05/0.03386, allocations: 16.17 kB / 410.1 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.03386, allocations: 0 / 410.1 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-06/0.03387, allocations: 8 kB / 410.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.03387, allocations: 0 / 410.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.03387, allocations: 0 / 410.1 MB, free: 2.336 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.03403, allocations: 294.5 kB / 410.4 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.03404, allocations: 19.77 kB / 410.5 MB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.03405, allocations: 4 kB / 410.5 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.793e-05/0.03408, allocations: 0 / 410.5 MB, free: 2.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.688e-05/0.0341, allocations: 3.984 kB / 410.5 MB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.0341, allocations: 8 kB / 410.5 MB, free: 1.996 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.44e-05/0.03414, allocations: 131.1 kB / 410.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03414, allocations: 0 / 410.6 MB, free: 1.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006042/0.03474, allocations: 447.4 kB / 411 MB, free: 1.43 MB / 378.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.001194/0.03593, allocations: 0.6197 MB / 411.7 MB, free: 0.8008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.03604, allocations: 59.61 kB / 411.7 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.03604, allocations: 0 / 411.7 MB, free: 0.7383 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.662e-05/0.03609, allocations: 59.55 kB / 411.8 MB, free: 0.6758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.03629, allocations: 19.92 kB / 411.8 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006957/0.03699, allocations: 302.6 kB / 412.1 MB, free: 336 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.879e-05/0.03703, allocations: 76.06 kB / 412.2 MB, free: 236 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.519e-05/0.03709, allocations: 23.91 kB / 412.2 MB, free: 212 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.091e-05/0.03711, allocations: 12.5 kB / 412.2 MB, free: 200 kB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03711, allocations: 0 / 412.2 MB, free: 200 kB / 378.7 MB Notification: Performance of Templates: time 0.01233/0.04944, allocations: 14.26 MB / 426.5 MB, free: 1.934 MB / 394.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 -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.4685702230781317]