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.001474/0.001474, allocations: 84.95 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001752/0.001752, allocations: 158.2 kB / 23.95 MB, free: 4.168 MB / 14.72 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.481/1.481, allocations: 177 MB / 204.1 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.2184/0.2184, allocations: 34.25 MB / 294.8 MB, free: 14.56 MB / 286.1 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.513e-06/1.513e-06, allocations: 0 / 442.6 MB, free: 5.359 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.783e-05/2.935e-05, allocations: 2.281 kB / 442.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.2579/0.2579, allocations: 11.46 MB / 454.1 MB, free: 13.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2593, allocations: 1.224 MB / 455.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.2594, allocations: 0 / 455.3 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.2596, allocations: 34.56 kB / 455.3 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009597/0.2692, allocations: 2.228 MB / 457.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.107e-06/0.2692, allocations: 3.938 kB / 457.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.2694, allocations: 42.59 kB / 457.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.527e-05/0.2694, allocations: 3.688 kB / 457.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.2696, allocations: 15.45 kB / 457.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.2696, allocations: 17.31 kB / 457.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.2696, allocations: 1.25 kB / 457.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01116/0.2808, allocations: 3.708 MB / 461.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.2808, allocations: 5.703 kB / 461.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.726e-05/0.2809, allocations: 12.56 kB / 461.4 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007084/0.288, allocations: 2.56 MB / 463.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.288, allocations: 0 / 463.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.288, allocations: 5.5 kB / 463.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.38e-05/0.288, allocations: 0 / 463.9 MB, free: 10.36 MB / 366.1 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.001423/0.2894, allocations: 0.4983 MB / 464.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.2895, allocations: 9.062 kB / 464.5 MB, free: 9.957 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001752/0.2896, allocations: 11.61 kB / 464.5 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.442e-05/0.2897, allocations: 107.8 kB / 464.6 MB, free: 9.824 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.2897, allocations: 6.344 kB / 464.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.2898, allocations: 2.156 kB / 464.6 MB, free: 9.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.29, allocations: 94.58 kB / 464.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.29, allocations: 1.25 kB / 464.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.29, allocations: 1.406 kB / 464.7 MB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.29, allocations: 5.031 kB / 464.7 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.2902, allocations: 48.86 kB / 464.7 MB, free: 9.715 MB / 366.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.0003628/0.2906, allocations: 295.7 kB / 465 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.2907, allocations: 56.7 kB / 465.1 MB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.937e-05/0.2908, allocations: 21.53 kB / 465.1 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02014/0.3109, allocations: 5.657 MB / 470.7 MB, free: 7.055 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3109, allocations: 35.66 kB / 470.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.3109, allocations: 1.031 kB / 470.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005257/0.3115, allocations: 115.4 kB / 470.9 MB, free: 6.934 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.3115, allocations: 52.56 kB / 470.9 MB, free: 6.871 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.28e-05/0.3115, allocations: 103.4 kB / 471 MB, free: 6.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.3116, allocations: 30.86 kB / 471.1 MB, free: 6.734 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.3116, allocations: 89.17 kB / 471.2 MB, free: 6.645 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.245e-05/0.3116, allocations: 18.11 kB / 471.2 MB, free: 6.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.473e-05/0.3116, allocations: 18.47 kB / 471.2 MB, free: 6.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.229e-05/0.3117, allocations: 317.1 kB / 471.5 MB, free: 6.293 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.098e-05/0.3117, allocations: 11.42 kB / 471.5 MB, free: 6.285 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.196e-05/0.3117, allocations: 27.52 kB / 471.5 MB, free: 6.258 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.821e-05/0.3118, allocations: 43 kB / 471.6 MB, free: 6.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3118, allocations: 5.031 kB / 471.6 MB, free: 6.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.767e-05/0.3119, allocations: 66.56 kB / 471.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.3119, allocations: 4.688 kB / 471.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3119, allocations: 1.188 kB / 471.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.3119, allocations: 1.188 kB / 471.7 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.487e-05/0.312, allocations: 12.5 kB / 471.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.312, allocations: 5.516 kB / 471.7 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.594e-05/0.3121, allocations: 6.047 kB / 471.7 MB, free: 6.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3121, allocations: 2.156 kB / 471.7 MB, free: 6.152 MB / 366.1 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.09e-05/0.3121, allocations: 111.9 kB / 471.8 MB, free: 6.035 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.3121, allocations: 6 kB / 471.8 MB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003757/0.3125, allocations: 398.8 kB / 472.2 MB, free: 5.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.3125, allocations: 5.359 kB / 472.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.3125, allocations: 2.125 kB / 472.2 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3125, allocations: 5.375 kB / 472.2 MB, free: 5.789 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.3127, allocations: 229.9 kB / 472.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3128, allocations: 0 / 472.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.3128, allocations: 9.438 kB / 472.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3128, allocations: 1.375 kB / 472.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.879e-06/0.3128, allocations: 3.984 kB / 472.4 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.3128, allocations: 1.375 kB / 472.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3128, allocations: 0 / 472.5 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.313, allocations: 287.6 kB / 472.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.862e-05/0.3131, allocations: 23.84 kB / 472.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3131, allocations: 0 / 472.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.186e-05/0.3131, allocations: 5.375 kB / 472.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.3132, allocations: 9.359 kB / 472.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-06/0.3132, allocations: 1.375 kB / 472.8 MB, free: 5.332 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.37e-05/0.3132, allocations: 79.41 kB / 472.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3132, allocations: 0 / 472.8 MB, free: 5.258 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002105/0.3153, allocations: 447 kB / 473.3 MB, free: 5.199 MB / 366.1 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.002883/0.3182, allocations: 0.634 MB / 473.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.3184, allocations: 89.56 kB / 474 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3184, allocations: 0 / 474 MB, free: 4.918 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3185, allocations: 64.08 kB / 474.1 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.3188, allocations: 10.8 kB / 474.1 MB, free: 4.887 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.3193, allocations: 312 kB / 474.4 MB, free: 4.652 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.436e-05/0.3194, allocations: 95.11 kB / 474.5 MB, free: 4.566 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.362e-05/0.3195, allocations: 25.8 kB / 474.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.183e-05/0.3195, allocations: 13.12 kB / 474.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3195, allocations: 0 / 474.5 MB, free: 4.547 MB / 366.1 MB Notification: Performance of Templates: time 0.02106/0.3406, allocations: 13.77 MB / 488.3 MB, free: 8.441 MB / 382.1 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.615635570138693]