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.001772/0.001772, allocations: 69.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 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.002224/0.002224, allocations: 162.5 kB / 24.5 MB, free: 3.711 MB / 14.72 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.529/1.529, allocations: 177.2 MB / 204.9 MB, free: 9.016 MB / 190.1 MB " [Timeout remaining time 178] 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.2059/0.2059, allocations: 34.27 MB / 295.5 MB, free: 14.56 MB / 286.1 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 0.002082/0.002082, allocations: 67.83 kB / 443.1 MB, free: 6.672 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3229, allocations: 66 MB / 0.4972 GB, free: 29.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.01107/0.3339, allocations: 11.48 MB / 0.5084 GB, free: 22.38 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009799/0.3349, allocations: 1.222 MB / 0.5096 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.729e-05/0.3349, allocations: 0 / 0.5096 GB, free: 21.57 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001686/0.3351, allocations: 28.53 kB / 0.5096 GB, free: 21.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004646/0.3397, allocations: 2.209 MB / 0.5118 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.759e-06/0.3398, allocations: 0 / 0.5118 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.388e-05/0.3398, allocations: 36.42 kB / 0.5118 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.551e-05/0.3399, allocations: 0.6094 kB / 0.5118 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.832e-05/0.3399, allocations: 19.17 kB / 0.5119 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.095e-05/0.34, allocations: 18.56 kB / 0.5119 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.406e-06/0.34, allocations: 4 kB / 0.5119 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006718/0.3467, allocations: 3.702 MB / 0.5155 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.734e-05/0.3467, allocations: 2.078 kB / 0.5155 GB, free: 19.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.44e-05/0.3468, allocations: 11.33 kB / 0.5155 GB, free: 19.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003524/0.3503, allocations: 1.975 MB / 0.5174 GB, free: 19.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3503, allocations: 5.375 kB / 0.5174 GB, free: 19.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3503, allocations: 0 / 0.5174 GB, free: 19.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3503, allocations: 0 / 0.5174 GB, free: 19.34 MB / 446.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.001313/0.3516, allocations: 499 kB / 0.5179 GB, free: 18.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3516, allocations: 14.03 kB / 0.5179 GB, free: 18.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.3518, allocations: 13.3 kB / 0.5179 GB, free: 18.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.138e-05/0.3519, allocations: 113.2 kB / 0.5181 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.3519, allocations: 3 kB / 0.5181 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.3519, allocations: 3.5 kB / 0.5181 GB, free: 18.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.3521, allocations: 94.44 kB / 0.5181 GB, free: 18.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3521, allocations: 0 / 0.5181 GB, free: 18.76 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3521, allocations: 5.188 kB / 0.5182 GB, free: 18.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.3522, allocations: 1.891 kB / 0.5182 GB, free: 18.75 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.3523, allocations: 46.59 kB / 0.5182 GB, free: 18.74 MB / 446.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.0003232/0.3526, allocations: 307.8 kB / 0.5185 GB, free: 18.44 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.3528, allocations: 58.92 kB / 0.5186 GB, free: 18.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.997e-05/0.3529, allocations: 15.31 kB / 0.5186 GB, free: 18.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02099/0.3738, allocations: 5.685 MB / 0.5241 GB, free: 17.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.3739, allocations: 35.72 kB / 0.5242 GB, free: 17.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 2.224e-06/0.3739, allocations: 0 / 0.5242 GB, free: 17.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005075/0.3744, allocations: 100.6 kB / 0.5242 GB, free: 17.56 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3744, allocations: 52.41 kB / 0.5243 GB, free: 17.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.797e-05/0.3745, allocations: 102.4 kB / 0.5244 GB, free: 17.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.3745, allocations: 29.64 kB / 0.5244 GB, free: 17.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.3745, allocations: 88.17 kB / 0.5245 GB, free: 17.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.3746, allocations: 26 kB / 0.5245 GB, free: 17.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.3746, allocations: 20.25 kB / 0.5246 GB, free: 17.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.408e-05/0.3746, allocations: 318 kB / 0.5249 GB, free: 16.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.3747, allocations: 9.609 kB / 0.5249 GB, free: 16.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.3747, allocations: 23.03 kB / 0.5249 GB, free: 16.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.608e-05/0.3748, allocations: 37.41 kB / 0.5249 GB, free: 16.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.3748, allocations: 0 / 0.5249 GB, free: 16.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.492e-05/0.3749, allocations: 71.91 kB / 0.525 GB, free: 16.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3749, allocations: 6.344 kB / 0.525 GB, free: 16.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3749, allocations: 4 kB / 0.525 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.3749, allocations: 1.094 kB / 0.525 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.375, allocations: 11.55 kB / 0.525 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.375, allocations: 1.438 kB / 0.525 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.375, allocations: 5.438 kB / 0.525 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.375, allocations: 5.5 kB / 0.525 GB, free: 16.8 MB / 446.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 6.492e-05/0.3751, allocations: 114.3 kB / 0.5251 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3751, allocations: 2.219 kB / 0.5251 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004587/0.3756, allocations: 397.4 kB / 0.5255 GB, free: 16.47 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3756, allocations: 13.64 kB / 0.5255 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.3756, allocations: 4 kB / 0.5255 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3756, allocations: 1.078 kB / 0.5255 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.3758, allocations: 224.9 kB / 0.5257 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.3758, allocations: 0.75 kB / 0.5257 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.419e-05/0.3759, allocations: 6.047 kB / 0.5258 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.3759, allocations: 1.984 kB / 0.5258 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3759, allocations: 4 kB / 0.5258 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3759, allocations: 0.9688 kB / 0.5258 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3759, allocations: 0.6094 kB / 0.5258 GB, free: 16.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.3762, allocations: 306.5 kB / 0.5261 GB, free: 16.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.3762, allocations: 12.95 kB / 0.5261 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.244e-05/0.3762, allocations: 1.719 kB / 0.5261 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.3762, allocations: 1.031 kB / 0.5261 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.886e-05/0.3763, allocations: 4.297 kB / 0.5261 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.3763, allocations: 1.094 kB / 0.5261 GB, free: 16.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.584e-05/0.3763, allocations: 83.75 kB / 0.5262 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3763, allocations: 0 / 0.5262 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002196/0.3785, allocations: 451 kB / 0.5266 GB, free: 15.91 MB / 446.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.002083/0.3806, allocations: 0.555 MB / 0.5271 GB, free: 15.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001874/0.3808, allocations: 95.31 kB / 0.5272 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3808, allocations: 1.031 kB / 0.5272 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.62e-05/0.3808, allocations: 66.05 kB / 0.5273 GB, free: 15.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3812, allocations: 22.19 kB / 0.5273 GB, free: 15.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.3816, allocations: 304.8 kB / 0.5276 GB, free: 15.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.948e-05/0.3817, allocations: 101 kB / 0.5277 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.092e-05/0.3818, allocations: 27.98 kB / 0.5277 GB, free: 15.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.047e-05/0.3818, allocations: 12.72 kB / 0.5277 GB, free: 15.36 MB / 446.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3818, allocations: 0 / 0.5277 GB, free: 15.36 MB / 446.1 MB Notification: Performance of Templates: time 0.02063/0.4024, allocations: 13.71 MB / 0.5411 GB, free: 8.336 MB / 446.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/WaterIF97_dewEnthalpy/WaterIF97_dewEnthalpy.csv","/var/lib/jenkins1/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.55047724803444]