Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007744/0.0007744, allocations: 87.62 kB / 21.44 MB, free: 3.121 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003196/0.003196, allocations: 160.7 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8352/0.8352, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2408/0.2408, allocations: 34.26 MB / 295.7 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") translateModel(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|h_dew",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 443.4 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.696e-05, allocations: 2.281 kB / 443.4 MB, free: 1.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.211/0.2111, allocations: 11.45 MB / 454.9 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006239/0.2117, allocations: 1.22 MB / 456.1 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.2117, allocations: 0 / 456.1 MB, free: 37.13 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.2119, allocations: 27.31 kB / 456.1 MB, free: 37.12 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002432/0.2143, allocations: 2.231 MB / 458.4 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.138e-06/0.2143, allocations: 0 / 458.4 MB, free: 36.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 7.267e-05/0.2144, allocations: 48.25 kB / 458.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.871e-05/0.2144, allocations: 6.469 kB / 458.4 MB, free: 36.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.114e-05/0.2145, allocations: 25.28 kB / 458.4 MB, free: 36.24 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.402e-05/0.2145, allocations: 12.61 kB / 458.4 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.736e-06/0.2145, allocations: 0 / 458.4 MB, free: 36.23 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.2175, allocations: 3.71 MB / 462.2 MB, free: 35.39 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.062e-05/0.2175, allocations: 3.938 kB / 462.2 MB, free: 35.39 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.2175, allocations: 13.33 kB / 462.2 MB, free: 35.38 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001761/0.2193, allocations: 2.561 MB / 464.7 MB, free: 34.62 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.2193, allocations: 0 / 464.7 MB, free: 34.62 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2193, allocations: 0 / 464.7 MB, free: 34.62 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2193, allocations: 3.938 kB / 464.7 MB, free: 34.61 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.0006353/0.22, allocations: 0.4894 MB / 465.2 MB, free: 34.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.22, allocations: 11.84 kB / 465.2 MB, free: 34.24 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.973e-05/0.2201, allocations: 11.66 kB / 465.2 MB, free: 34.24 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.137e-05/0.2201, allocations: 119.9 kB / 465.4 MB, free: 34.11 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.2202, allocations: 4.375 kB / 465.4 MB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.1e-05/0.2202, allocations: 6.219 kB / 465.4 MB, free: 34.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.2203, allocations: 88.12 kB / 465.5 MB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2203, allocations: 192 / 465.5 MB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2204, allocations: 7.469 kB / 465.5 MB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2204, allocations: 0 / 465.5 MB, free: 34.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.373e-05/0.2205, allocations: 50.02 kB / 465.5 MB, free: 34.02 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.0003123/0.2208, allocations: 295.7 kB / 465.8 MB, free: 33.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.2209, allocations: 63 kB / 465.9 MB, free: 33.69 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.2209, allocations: 18.45 kB / 465.9 MB, free: 33.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008546/0.2294, allocations: 5.672 MB / 471.6 MB, free: 32.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.2295, allocations: 30.56 kB / 471.6 MB, free: 32.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.123e-06/0.2295, allocations: 0 / 471.6 MB, free: 32.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002925/0.2298, allocations: 106.6 kB / 471.7 MB, free: 32.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.2298, allocations: 55.41 kB / 471.7 MB, free: 32.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.094e-05/0.2298, allocations: 103.4 kB / 471.8 MB, free: 32.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.412e-06/0.2298, allocations: 33.58 kB / 471.9 MB, free: 32.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.737e-05/0.2299, allocations: 91.28 kB / 472 MB, free: 32.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.317e-06/0.2299, allocations: 11.84 kB / 472 MB, free: 32.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.64e-05/0.2299, allocations: 23.19 kB / 472 MB, free: 32.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.299e-05/0.2299, allocations: 314.8 kB / 472.3 MB, free: 32.24 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.548e-05/0.2299, allocations: 5.531 kB / 472.3 MB, free: 32.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.1e-05/0.23, allocations: 28.45 kB / 472.3 MB, free: 32.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.827e-05/0.23, allocations: 48.83 kB / 472.4 MB, free: 32.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.23, allocations: 3.938 kB / 472.4 MB, free: 32.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.988e-05/0.2301, allocations: 59.77 kB / 472.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.2301, allocations: 7.281 kB / 472.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2301, allocations: 0 / 472.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2301, allocations: 3.094 kB / 472.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.2302, allocations: 10.94 kB / 472.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2302, allocations: 2.938 kB / 472.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.682e-05/0.2302, allocations: 3.953 kB / 472.5 MB, free: 32.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2302, allocations: 3.25 kB / 472.5 MB, free: 32.12 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 4.324e-05/0.2302, allocations: 122 kB / 472.6 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.2303, allocations: 3.219 kB / 472.6 MB, free: 32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.2305, allocations: 389.8 kB / 473 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2305, allocations: 6.469 kB / 473 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2305, allocations: 1.75 kB / 473 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2305, allocations: 0 / 473 MB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2306, allocations: 232.7 kB / 473.2 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.2307, allocations: 3.938 kB / 473.2 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.813e-05/0.2307, allocations: 6.156 kB / 473.2 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2307, allocations: 4 kB / 473.2 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.2307, allocations: 3.328 kB / 473.2 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.2307, allocations: 3.062 kB / 473.2 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2307, allocations: 1.406 kB / 473.2 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.2308, allocations: 284.3 kB / 473.5 MB, free: 31.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.097e-05/0.2308, allocations: 26.34 kB / 473.5 MB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.2308, allocations: 0 / 473.5 MB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.748e-05/0.2309, allocations: 6.156 kB / 473.6 MB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.2309, allocations: 0 / 473.6 MB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.2309, allocations: 7.094 kB / 473.6 MB, free: 31.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.475e-05/0.2309, allocations: 84.84 kB / 473.6 MB, free: 31.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2309, allocations: 4 kB / 473.6 MB, free: 31.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006306/0.2315, allocations: 450 kB / 474.1 MB, free: 31.24 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.00113/0.2327, allocations: 0.6206 MB / 474.7 MB, free: 31.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.2328, allocations: 90.95 kB / 474.8 MB, free: 31.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.2328, allocations: 2.938 kB / 474.8 MB, free: 31.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.29e-05/0.2328, allocations: 73.34 kB / 474.9 MB, free: 30.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002104/0.233, allocations: 15.45 kB / 474.9 MB, free: 30.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003403/0.2334, allocations: 322.9 kB / 475.2 MB, free: 30.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.844e-05/0.2334, allocations: 101.5 kB / 475.3 MB, free: 30.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.582e-05/0.2334, allocations: 11.5 kB / 475.3 MB, free: 30.67 MB / 410.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2334, allocations: 0 / 475.3 MB, free: 30.67 MB / 410.7 MB Notification: Performance of Templates: time 0.01259/0.246, allocations: 9.136 MB / 484.4 MB, free: 29.99 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.064416581764817]