Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.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.001621/0.001621, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001976/0.001976, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.473/1.473, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3273/0.3273, allocations: 32.8 MB / 293.9 MB, free: 1.227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") translateModel(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.828e-05, allocations: 2.312 kB / 375.3 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.009904/0.009933, allocations: 4.688 MB / 380 MB, free: 240 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008045/0.01798, allocations: 4.095 MB / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.01819, allocations: 0 / 384.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.0186, allocations: 51.61 kB / 384.1 MB, free: 12.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00326/0.02186, allocations: 0.7103 MB / 384.8 MB, free: 11.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000603/0.02246, allocations: 147.7 kB / 385 MB, free: 11.21 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.02333, allocations: 393.8 kB / 385.4 MB, free: 10.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.309e-05/0.0234, allocations: 5.812 kB / 385.4 MB, free: 10.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004548/0.02385, allocations: 195.4 kB / 385.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.02415, allocations: 119.7 kB / 385.7 MB, free: 10.51 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.02419, allocations: 8 kB / 385.7 MB, free: 10.5 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.02533, allocations: 323.3 kB / 386 MB, free: 10.19 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.02546, allocations: 51.75 kB / 386 MB, free: 10.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001738/0.02564, allocations: 79.77 kB / 386.1 MB, free: 10.06 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001131/0.02677, allocations: 450.6 kB / 386.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.02677, allocations: 0 / 386.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.02678, allocations: 0 / 386.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.02678, allocations: 0 / 386.6 MB, free: 9.617 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001691/0.02847, allocations: 0.5207 MB / 387.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.977e-05/0.02853, allocations: 16.02 kB / 387.1 MB, free: 9.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003037/0.02884, allocations: 48.73 kB / 387.2 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005007/0.02934, allocations: 169.5 kB / 387.3 MB, free: 8.812 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002915/0.02963, allocations: 226.7 kB / 387.5 MB, free: 8.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.786e-05/0.0297, allocations: 28.31 kB / 387.6 MB, free: 8.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009467/0.03064, allocations: 0.4995 MB / 388.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.03066, allocations: 12.12 kB / 388.1 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.03071, allocations: 11.94 kB / 388.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.834e-05/0.03074, allocations: 8 kB / 388.1 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.03212, allocations: 0.7198 MB / 388.8 MB, free: 7.195 MB / 362.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.001954/0.03407, allocations: 1.038 MB / 389.9 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004874/0.03456, allocations: 138.6 kB / 390 MB, free: 5.957 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.03475, allocations: 68.83 kB / 390.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002102/0.03685, allocations: 0.6672 MB / 390.7 MB, free: 5.199 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.52e-05/0.03691, allocations: 38.56 kB / 390.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.214e-06/0.03691, allocations: 0 / 390.8 MB, free: 5.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.001102/0.03801, allocations: 229 kB / 391 MB, free: 4.926 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/0.03807, allocations: 51.41 kB / 391 MB, free: 4.863 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003711/0.03844, allocations: 235.5 kB / 391.3 MB, free: 4.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.03849, allocations: 29.7 kB / 391.3 MB, free: 4.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.03872, allocations: 219.5 kB / 391.5 MB, free: 4.371 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.03879, allocations: 51.58 kB / 391.6 MB, free: 4.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001652/0.03895, allocations: 86.09 kB / 391.6 MB, free: 4.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000246/0.0392, allocations: 338.7 kB / 392 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001462/0.03934, allocations: 44.97 kB / 392 MB, free: 3.848 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000523/0.03987, allocations: 313 kB / 392.3 MB, free: 3.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007486/0.04062, allocations: 411.4 kB / 392.7 MB, free: 2.879 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.04062, allocations: 4 kB / 392.7 MB, free: 2.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009799/0.0416, allocations: 392.8 kB / 393.1 MB, free: 2.484 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.791e-05/0.04163, allocations: 8.938 kB / 393.1 MB, free: 2.477 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.04165, allocations: 8 kB / 393.1 MB, free: 2.469 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.37e-05/0.04169, allocations: 12 kB / 393.1 MB, free: 2.457 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/0.04225, allocations: 115.8 kB / 393.3 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.731e-05/0.04228, allocations: 16.06 kB / 393.3 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.04265, allocations: 16 kB / 393.3 MB, free: 2.312 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.436e-05/0.04271, allocations: 31.98 kB / 393.3 MB, free: 2.281 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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.0002154/0.04293, allocations: 149.6 kB / 393.5 MB, free: 2.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.04303, allocations: 31.86 kB / 393.5 MB, free: 2.094 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006347/0.04367, allocations: 166.8 kB / 393.7 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.04368, allocations: 0 / 393.7 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.04369, allocations: 0 / 393.7 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.04369, allocations: 0 / 393.7 MB, free: 1.922 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008299/0.04452, allocations: 366.9 kB / 394 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.04452, allocations: 0 / 394 MB, free: 1.523 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.04475, allocations: 36.02 kB / 394.1 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.04476, allocations: 4 kB / 394.1 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.881e-05/0.04478, allocations: 7.969 kB / 394.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.04478, allocations: 0 / 394.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.04479, allocations: 0 / 394.1 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.04519, allocations: 224.2 kB / 394.3 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.04528, allocations: 31.84 kB / 394.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.512e-05/0.04533, allocations: 0 / 394.3 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.04562, allocations: 7.984 kB / 394.3 MB, free: 1.199 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.04567, allocations: 19.92 kB / 394.3 MB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.0457, allocations: 11.98 kB / 394.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001978/0.0459, allocations: 145.2 kB / 394.5 MB, free: 1.027 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0459, allocations: 0 / 394.5 MB, free: 1.027 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008508/0.04675, allocations: 103.9 kB / 394.6 MB, free: 0.9258 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0004256/0.04717, allocations: 175 kB / 394.8 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004708/0.04764, allocations: 173 kB / 394.9 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.04765, allocations: 0 / 394.9 MB, free: 0.5781 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.04774, allocations: 38.67 kB / 395 MB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007305/0.04847, allocations: 65.67 kB / 395 MB, free: 492 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/0.04985, allocations: 486.6 kB / 395.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001771/0.05003, allocations: 112.9 kB / 395.6 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003166/0.05034, allocations: 58.84 kB / 395.7 MB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.854e-05/0.05044, allocations: 32.42 kB / 395.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.05044, allocations: 4 kB / 395.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of Templates: time 0.0113/0.06174, allocations: 3.44 MB / 399.2 MB, free: 12.35 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.042637823033147]