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.001673/0.001673, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001754/0.001754, allocations: 169.1 kB / 23.96 MB, free: 4.164 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.515/1.515, allocations: 177.2 MB / 204.3 MB, free: 9.184 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.2128/0.2128, allocations: 34.27 MB / 295 MB, free: 14.58 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 1.492e-06/1.492e-06, allocations: 0 / 442.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.29e-05, allocations: 2.281 kB / 442.7 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.WaterIF97_dewEnthalpy): time 0.2713/0.2714, allocations: 11.46 MB / 454.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2727, allocations: 1.226 MB / 455.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.541e-05/0.2727, allocations: 1.375 kB / 455.3 MB, free: 13.13 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002494/0.273, allocations: 32.38 kB / 455.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00827/0.2813, allocations: 2.227 MB / 457.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.47e-06/0.2813, allocations: 0 / 457.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.2814, allocations: 39.62 kB / 457.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.2814, allocations: 7.047 kB / 457.6 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.2815, allocations: 23.84 kB / 457.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.774e-05/0.2816, allocations: 9.547 kB / 457.7 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2816, allocations: 4 kB / 457.7 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007899/0.2895, allocations: 3.708 MB / 461.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.535e-05/0.2895, allocations: 5.031 kB / 461.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.656e-05/0.2896, allocations: 9.297 kB / 461.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004524/0.2941, allocations: 2.567 MB / 464 MB, free: 10.43 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.2941, allocations: 9.406 kB / 464 MB, free: 10.42 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2941, allocations: 0 / 464 MB, free: 10.42 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2941, allocations: 0 / 464 MB, free: 10.42 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.001267/0.2954, allocations: 0.4904 MB / 464.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2954, allocations: 9.812 kB / 464.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.2956, allocations: 7.938 kB / 464.5 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.681e-05/0.2956, allocations: 111.2 kB / 464.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2956, allocations: 2.969 kB / 464.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2956, allocations: 9.719 kB / 464.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.2959, allocations: 84.98 kB / 464.7 MB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.2959, allocations: 6.094 kB / 464.7 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.2959, allocations: 4.375 kB / 464.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2959, allocations: 5.688 kB / 464.7 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/0.2961, allocations: 48.02 kB / 464.8 MB, free: 9.777 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.0003468/0.2965, allocations: 295.8 kB / 465 MB, free: 9.473 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000188/0.2966, allocations: 63.75 kB / 465.1 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.2967, allocations: 16.17 kB / 465.1 MB, free: 9.414 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02008/0.3168, allocations: 5.665 MB / 470.8 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3168, allocations: 31.94 kB / 470.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.3168, allocations: 0 / 470.8 MB, free: 7.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004967/0.3173, allocations: 108.1 kB / 470.9 MB, free: 7.004 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.3173, allocations: 51.41 kB / 471 MB, free: 6.941 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.3174, allocations: 104.7 kB / 471.1 MB, free: 6.836 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.049e-05/0.3174, allocations: 29.69 kB / 471.1 MB, free: 6.801 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.3174, allocations: 89.47 kB / 471.2 MB, free: 6.711 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.3174, allocations: 18.59 kB / 471.2 MB, free: 6.695 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.3175, allocations: 17.84 kB / 471.2 MB, free: 6.676 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.548e-05/0.3175, allocations: 316.2 kB / 471.5 MB, free: 6.359 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.167e-05/0.3175, allocations: 9.5 kB / 471.5 MB, free: 6.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.3176, allocations: 29.44 kB / 471.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.57e-05/0.3176, allocations: 38.89 kB / 471.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3176, allocations: 0 / 471.6 MB, free: 6.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.707e-05/0.3177, allocations: 62.19 kB / 471.7 MB, free: 6.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.3177, allocations: 10.72 kB / 471.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3177, allocations: 3.047 kB / 471.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3178, allocations: 1.344 kB / 471.7 MB, free: 6.238 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.98e-05/0.3178, allocations: 17.27 kB / 471.7 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3178, allocations: 0 / 471.7 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.669e-05/0.3179, allocations: 6.547 kB / 471.7 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3179, allocations: 2.344 kB / 471.7 MB, free: 6.227 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.437e-05/0.3179, allocations: 116.7 kB / 471.8 MB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.318, allocations: 8.516 kB / 471.8 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004146/0.3184, allocations: 393 kB / 472.2 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/0.3184, allocations: 6.203 kB / 472.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.3184, allocations: 0 / 472.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3184, allocations: 1.25 kB / 472.2 MB, free: 5.867 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.3186, allocations: 226.4 kB / 472.4 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3186, allocations: 0.875 kB / 472.5 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.619e-05/0.3187, allocations: 17.42 kB / 472.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.3187, allocations: 5.25 kB / 472.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3187, allocations: 0 / 472.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3187, allocations: 1.375 kB / 472.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.3187, allocations: 0 / 472.5 MB, free: 5.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.3189, allocations: 295.1 kB / 472.8 MB, free: 5.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.3189, allocations: 25.31 kB / 472.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.3189, allocations: 0 / 472.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.368e-05/0.319, allocations: 1.406 kB / 472.8 MB, free: 5.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.808e-05/0.319, allocations: 5.547 kB / 472.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.319, allocations: 3.688 kB / 472.8 MB, free: 5.406 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.551e-05/0.319, allocations: 82.38 kB / 472.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.319, allocations: 0 / 472.9 MB, free: 5.328 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002302/0.3213, allocations: 447.5 kB / 473.3 MB, free: 5.27 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.003116/0.3245, allocations: 0.6299 MB / 473.9 MB, free: 5.035 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3246, allocations: 85.19 kB / 474 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3246, allocations: 0 / 474 MB, free: 4.996 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.62e-05/0.3247, allocations: 68.44 kB / 474.1 MB, free: 4.965 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.325, allocations: 17.23 kB / 474.1 MB, free: 4.957 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004881/0.3255, allocations: 312 kB / 474.4 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.043e-05/0.3256, allocations: 93.92 kB / 474.5 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.366e-05/0.3257, allocations: 26.72 kB / 474.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.966e-05/0.3257, allocations: 17.03 kB / 474.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3257, allocations: 0 / 474.6 MB, free: 4.613 MB / 366.1 MB Notification: Performance of Templates: time 0.02192/0.3476, allocations: 13.78 MB / 488.3 MB, free: 8.527 MB / 382.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 -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.492411281913519]