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.001155/0.001155, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001148/0.001148, allocations: 166.7 kB / 25.61 MB, free: 8.434 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 1.044/1.044, allocations: 177 MB / 205.9 MB, free: 4.449 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.1625/0.1625, allocations: 34.87 MB / 297.4 MB, free: 13.33 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 2.154e-06/2.154e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.413e-05, allocations: 3.719 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01206/0.01209, allocations: 12.35 MB / 392.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.000975/0.01307, allocations: 1.37 MB / 393.7 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.64e-05/0.01312, allocations: 0 / 393.7 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001975/0.01332, allocations: 27.83 kB / 393.7 MB, free: 8.957 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005599/0.01892, allocations: 2.23 MB / 396 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.343e-06/0.01893, allocations: 0 / 396 MB, free: 6.719 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.01904, allocations: 39.67 kB / 396 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.032e-05/0.01909, allocations: 0 / 396 MB, free: 6.68 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.01922, allocations: 27.92 kB / 396 MB, free: 6.652 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.607e-05/0.01927, allocations: 11.98 kB / 396 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.01928, allocations: 0 / 396 MB, free: 6.641 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005286/0.02457, allocations: 3.706 MB / 399.7 MB, free: 2.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.434e-05/0.02459, allocations: 7.938 kB / 399.8 MB, free: 2.922 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.043e-05/0.02463, allocations: 15.98 kB / 399.8 MB, free: 2.906 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004976/0.02961, allocations: 2.565 MB / 402.3 MB, free: 344 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.02961, allocations: 0 / 402.3 MB, free: 344 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.02962, allocations: 0 / 402.3 MB, free: 344 kB / 314.7 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.02962, allocations: 0 / 402.3 MB, free: 344 kB / 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.001488/0.03111, allocations: 0.5965 MB / 402.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.027e-05/0.03117, allocations: 8.031 kB / 402.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.03136, allocations: 20.88 kB / 403 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.0315, allocations: 116.5 kB / 403.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.03151, allocations: 384 / 403.1 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-06/0.03152, allocations: 8.375 kB / 403.1 MB, free: 15.53 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.03175, allocations: 89.58 kB / 403.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.03176, allocations: 192 / 403.2 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.03178, allocations: 4.125 kB / 403.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.03178, allocations: 0 / 403.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.0319, allocations: 43.89 kB / 403.2 MB, free: 15.38 MB / 330.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.0004639/0.03237, allocations: 387.2 kB / 403.6 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.03253, allocations: 66.97 kB / 403.7 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.08e-05/0.03255, allocations: 15.69 kB / 403.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01276/0.04531, allocations: 5.157 MB / 408.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.04536, allocations: 37.38 kB / 408.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.214e-06/0.04537, allocations: 0 / 408.9 MB, free: 9.664 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004503/0.04582, allocations: 117.4 kB / 409 MB, free: 9.543 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.04586, allocations: 55.41 kB / 409 MB, free: 9.477 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.04598, allocations: 157.9 kB / 409.2 MB, free: 9.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.04599, allocations: 25.7 kB / 409.2 MB, free: 9.273 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.124e-05/0.04606, allocations: 134.8 kB / 409.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.04608, allocations: 19.84 kB / 409.4 MB, free: 9.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.04613, allocations: 23.38 kB / 409.4 MB, free: 9.086 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.04631, allocations: 0.4923 MB / 409.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.04633, allocations: 4 kB / 409.9 MB, free: 8.578 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.04637, allocations: 27.06 kB / 409.9 MB, free: 8.539 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.327e-05/0.04643, allocations: 50.98 kB / 410 MB, free: 8.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.04643, allocations: 0 / 410 MB, free: 8.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001112/0.04654, allocations: 61.56 kB / 410 MB, free: 8.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.04657, allocations: 4 kB / 410 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.04657, allocations: 0 / 410 MB, free: 8.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.04659, allocations: 4 kB / 410 MB, free: 8.402 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.04666, allocations: 8 kB / 410 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.04666, allocations: 7.922 kB / 410 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.639e-05/0.0467, allocations: 8.016 kB / 410.1 MB, free: 8.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.04671, allocations: 11.98 kB / 410.1 MB, free: 8.367 MB / 330.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 0.0001099/0.04682, allocations: 160.6 kB / 410.2 MB, free: 8.199 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.757e-05/0.04685, allocations: 3.938 kB / 410.2 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.04716, allocations: 225.1 kB / 410.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.04717, allocations: 0 / 410.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.04717, allocations: 0 / 410.4 MB, free: 7.969 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.04718, allocations: 7.984 kB / 410.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.0474, allocations: 173.8 kB / 410.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.0474, allocations: 0 / 410.6 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.04744, allocations: 11.94 kB / 410.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.04744, allocations: 192 / 410.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.04745, allocations: 7.938 kB / 410.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.04745, allocations: 0 / 410.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.04746, allocations: 8.406 kB / 410.7 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.0477, allocations: 276.8 kB / 410.9 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.935e-05/0.04772, allocations: 19.83 kB / 410.9 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.04773, allocations: 3.938 kB / 410.9 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.595e-05/0.04778, allocations: 4 kB / 410.9 MB, free: 7.422 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.019e-05/0.0478, allocations: 7.984 kB / 411 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.0478, allocations: 0 / 411 MB, free: 7.414 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.307e-05/0.04786, allocations: 131.2 kB / 411.1 MB, free: 7.285 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04786, allocations: 0 / 411.1 MB, free: 7.285 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00141/0.04927, allocations: 451.3 kB / 411.5 MB, free: 6.844 MB / 330.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.001934/0.0512, allocations: 0.637 MB / 412.2 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001401/0.05134, allocations: 47.73 kB / 412.2 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.05134, allocations: 4 kB / 412.2 MB, free: 6.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.211e-05/0.05141, allocations: 55.53 kB / 412.3 MB, free: 6.082 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.05171, allocations: 15.98 kB / 412.3 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009748/0.05268, allocations: 302.4 kB / 412.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.958e-05/0.05274, allocations: 68.08 kB / 412.6 MB, free: 5.652 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.546e-05/0.05283, allocations: 31.89 kB / 412.7 MB, free: 5.621 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.416e-05/0.0529, allocations: 78.2 kB / 412.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of SimCode: time 8.12e-07/0.0529, allocations: 0 / 412.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of Templates: time 0.02512/0.07802, allocations: 15.8 MB / 428.6 MB, free: 5.754 MB / 346.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: 4.3433186379261315]