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.0009585/0.0009585, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001026/0.001026, allocations: 170.6 kB / 25 MB, free: 8.742 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 1.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.609 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.2894/0.2894, allocations: 34.26 MB / 296 MB, free: 0.6641 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.884e-06/1.884e-06, allocations: 0 / 378 MB, free: 2.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.795e-05/2.984e-05, allocations: 5.828 kB / 378 MB, free: 2.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01271/0.01274, allocations: 12.48 MB / 390.5 MB, free: 6.43 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.01384, allocations: 1.382 MB / 391.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.01389, allocations: 0 / 391.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.01409, allocations: 23.83 kB / 391.9 MB, free: 5.02 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005183/0.01927, allocations: 2.241 MB / 394.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.318e-06/0.01928, allocations: 0 / 394.1 MB, free: 2.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.01937, allocations: 43.67 kB / 394.2 MB, free: 2.727 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.849e-05/0.01941, allocations: 8 kB / 394.2 MB, free: 2.719 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.707e-05/0.01951, allocations: 19.97 kB / 394.2 MB, free: 2.699 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.736e-05/0.01955, allocations: 15.94 kB / 394.2 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.01956, allocations: 0 / 394.2 MB, free: 2.684 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0048/0.02436, allocations: 3.706 MB / 397.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.565e-05/0.02438, allocations: 0 / 397.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.02442, allocations: 15.94 kB / 397.9 MB, free: 14.96 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003516/0.02793, allocations: 2.561 MB / 400.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.02794, allocations: 0 / 400.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.02794, allocations: 0 / 400.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.02794, allocations: 0 / 400.5 MB, free: 12.39 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.001121/0.02906, allocations: 0.5965 MB / 401.1 MB, free: 11.76 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.02911, allocations: 8.031 kB / 401.1 MB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.0293, allocations: 24.86 kB / 401.1 MB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.02942, allocations: 108.6 kB / 401.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.02944, allocations: 8.375 kB / 401.2 MB, free: 11.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.02945, allocations: 4.375 kB / 401.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.02967, allocations: 93.52 kB / 401.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.02968, allocations: 192 / 401.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.02969, allocations: 8.125 kB / 401.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.02969, allocations: 0 / 401.3 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.663e-05/0.02979, allocations: 39.95 kB / 401.4 MB, free: 11.43 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.0003942/0.03019, allocations: 406.6 kB / 401.8 MB, free: 10.99 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.03031, allocations: 66.94 kB / 401.8 MB, free: 10.91 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.03034, allocations: 15.77 kB / 401.9 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.04037, allocations: 5.649 MB / 407.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.04041, allocations: 41.31 kB / 407.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.04041, allocations: 0 / 407.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003901/0.0408, allocations: 113.5 kB / 407.7 MB, free: 5.078 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.04084, allocations: 51.41 kB / 407.7 MB, free: 5.016 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.04095, allocations: 161.9 kB / 407.9 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.04096, allocations: 33.7 kB / 407.9 MB, free: 4.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.09e-05/0.04101, allocations: 130.8 kB / 408 MB, free: 4.668 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.04103, allocations: 19.84 kB / 408 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.04106, allocations: 27.36 kB / 408.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.04118, allocations: 492.1 kB / 408.6 MB, free: 4.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.495e-05/0.04119, allocations: 4 kB / 408.6 MB, free: 4.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.04123, allocations: 42.98 kB / 408.6 MB, free: 4.062 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.865e-05/0.04128, allocations: 39.06 kB / 408.6 MB, free: 4.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.04128, allocations: 3.938 kB / 408.6 MB, free: 4.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.764e-05/0.04137, allocations: 73.56 kB / 408.7 MB, free: 3.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.04138, allocations: 9.812 kB / 408.7 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.04139, allocations: 4 kB / 408.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.0414, allocations: 0 / 408.7 MB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.04147, allocations: 16.06 kB / 408.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.04148, allocations: 0 / 408.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.291e-05/0.0415, allocations: 8 kB / 408.8 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.04151, allocations: 0 / 408.8 MB, free: 3.895 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 8.197e-05/0.04159, allocations: 160.6 kB / 408.9 MB, free: 3.727 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.76e-05/0.04161, allocations: 11.98 kB / 408.9 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.04187, allocations: 245.3 kB / 409.2 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.04188, allocations: 7.984 kB / 409.2 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.04188, allocations: 0 / 409.2 MB, free: 3.457 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.04188, allocations: 3.938 kB / 409.2 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001532/0.04204, allocations: 193.2 kB / 409.4 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.04204, allocations: 3.938 kB / 409.4 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.04206, allocations: 8 kB / 409.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.04207, allocations: 0 / 409.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.271e-06/0.04207, allocations: 0 / 409.4 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.04207, allocations: 4 kB / 409.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.04207, allocations: 0 / 409.4 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.04225, allocations: 294.5 kB / 409.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.04227, allocations: 15.83 kB / 409.7 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.04228, allocations: 7.984 kB / 409.7 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.871e-05/0.04231, allocations: 4 kB / 409.7 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.482e-05/0.04232, allocations: 0 / 409.7 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-06/0.04233, allocations: 0 / 409.7 MB, free: 2.883 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.719e-05/0.04236, allocations: 131.5 kB / 409.8 MB, free: 2.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04236, allocations: 0 / 409.8 MB, free: 2.754 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009454/0.04331, allocations: 447.4 kB / 410.3 MB, free: 2.316 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.001293/0.0446, allocations: 0.6314 MB / 410.9 MB, free: 1.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001175/0.04472, allocations: 63.55 kB / 410.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.04472, allocations: 0 / 410.9 MB, free: 1.609 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.164e-05/0.04478, allocations: 63.73 kB / 411 MB, free: 1.543 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.045, allocations: 22.44 kB / 411 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00076/0.04576, allocations: 295 kB / 411.3 MB, free: 1.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.386e-05/0.04581, allocations: 76.08 kB / 411.4 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.197e-05/0.04587, allocations: 19.97 kB / 411.4 MB, free: 1.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.202e-05/0.04589, allocations: 16.5 kB / 411.4 MB, free: 1.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.363e-06/0.04589, allocations: 0 / 411.4 MB, free: 1.07 MB / 378.7 MB Notification: Performance of Templates: time 0.01451/0.06041, allocations: 14.25 MB / 425.7 MB, free: 2.824 MB / 394.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy.pipe 2>&1) [Timeout 240] 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","",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.5653116030152887]