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.001757/0.001757, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002082/0.002082, allocations: 212.6 kB / 23.73 MB, free: 4.387 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 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.2292/0.2292, allocations: 44.93 MB / 358.8 MB, free: 6.043 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 0.4936 GB, free: 9.984 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3466, allocations: 65.48 MB / 0.5575 GB, free: 7.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007152/0.3537, allocations: 4.696 MB / 0.5621 GB, free: 2.879 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005593/0.3593, allocations: 4.08 MB / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.3595, allocations: 0 / 0.5661 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.3598, allocations: 59.61 kB / 0.5661 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002068/0.3619, allocations: 0.672 MB / 0.5668 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004558/0.3624, allocations: 159 kB / 0.5669 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006376/0.363, allocations: 374.1 kB / 0.5673 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.689e-05/0.3631, allocations: 13.8 kB / 0.5673 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002642/0.3633, allocations: 159.4 kB / 0.5675 GB, free: 13.36 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.3636, allocations: 127.5 kB / 0.5676 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.449e-05/0.3636, allocations: 11.94 kB / 0.5676 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008136/0.3644, allocations: 319.7 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.3645, allocations: 47.75 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001326/0.3646, allocations: 99.58 kB / 0.568 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007103/0.3653, allocations: 425.3 kB / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.8e-06/0.3654, allocations: 0 / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3654, allocations: 0 / 0.5684 GB, free: 12.36 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3654, allocations: 0 / 0.5684 GB, free: 12.36 MB / 414.1 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.001149/0.3665, allocations: 0.5246 MB / 0.5689 GB, free: 11.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.3666, allocations: 12.03 kB / 0.569 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.3667, allocations: 24.84 kB / 0.569 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003965/0.3671, allocations: 178.2 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.3673, allocations: 226.7 kB / 0.5694 GB, free: 11.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.3674, allocations: 20.38 kB / 0.5694 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000659/0.368, allocations: 0.5065 MB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.368, allocations: 0 / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.3681, allocations: 12 kB / 0.5699 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.3681, allocations: 8 kB / 0.5699 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008561/0.369, allocations: 0.7157 MB / 0.5706 GB, free: 9.961 MB / 414.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.0014/0.3704, allocations: 1.046 MB / 0.5716 GB, free: 8.863 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.3707, allocations: 134.3 kB / 0.5718 GB, free: 8.727 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3708, allocations: 73.39 kB / 0.5718 GB, free: 8.652 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/0.3722, allocations: 0.6594 MB / 0.5725 GB, free: 7.973 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.3723, allocations: 34.55 kB / 0.5725 GB, free: 7.93 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.3723, allocations: 0 / 0.5725 GB, free: 7.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007099/0.373, allocations: 221.1 kB / 0.5727 GB, free: 7.707 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.373, allocations: 51.41 kB / 0.5728 GB, free: 7.645 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.3732, allocations: 227.7 kB / 0.573 GB, free: 7.414 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.3733, allocations: 33.64 kB / 0.573 GB, free: 7.375 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.3734, allocations: 223.5 kB / 0.5732 GB, free: 7.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.169e-05/0.3735, allocations: 63.52 kB / 0.5733 GB, free: 7.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3736, allocations: 82.08 kB / 0.5734 GB, free: 7.004 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3737, allocations: 326.8 kB / 0.5737 GB, free: 6.676 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.3738, allocations: 48.84 kB / 0.5737 GB, free: 6.625 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003135/0.3741, allocations: 316.1 kB / 0.574 GB, free: 6.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.3746, allocations: 411.5 kB / 0.5744 GB, free: 5.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3746, allocations: 4 kB / 0.5744 GB, free: 5.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.00059/0.3752, allocations: 373.2 kB / 0.5748 GB, free: 5.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.3752, allocations: 11.98 kB / 0.5748 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.3752, allocations: 8 kB / 0.5748 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.3753, allocations: 12 kB / 0.5748 GB, free: 5.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003489/0.3756, allocations: 103.8 kB / 0.5749 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.302e-05/0.3756, allocations: 28.42 kB / 0.5749 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.3759, allocations: 16 kB / 0.5749 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.74e-05/0.3759, allocations: 31.94 kB / 0.575 GB, free: 5.078 MB / 414.1 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.0001767/0.3761, allocations: 153.6 kB / 0.5751 GB, free: 4.918 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.3761, allocations: 19.91 kB / 0.5751 GB, free: 4.898 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003292/0.3765, allocations: 150.9 kB / 0.5753 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.3765, allocations: 3.984 kB / 0.5753 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.3765, allocations: 12.06 kB / 0.5753 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3765, allocations: 0 / 0.5753 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000594/0.3771, allocations: 378.6 kB / 0.5757 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3771, allocations: 0 / 0.5757 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.3773, allocations: 31.92 kB / 0.5757 GB, free: 4.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3773, allocations: 4 kB / 0.5757 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.3773, allocations: 11.97 kB / 0.5757 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3773, allocations: 0 / 0.5757 GB, free: 4.273 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3773, allocations: 4 kB / 0.5757 GB, free: 4.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.3775, allocations: 216.3 kB / 0.5759 GB, free: 4.039 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.358e-05/0.3776, allocations: 23.84 kB / 0.5759 GB, free: 4.016 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.158e-05/0.3777, allocations: 11.94 kB / 0.5759 GB, free: 4.004 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.3779, allocations: 4 kB / 0.576 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.328e-05/0.3779, allocations: 15.97 kB / 0.576 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3779, allocations: 4 kB / 0.576 GB, free: 3.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001436/0.3781, allocations: 148.5 kB / 0.5761 GB, free: 3.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3781, allocations: 4 kB / 0.5761 GB, free: 3.832 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005068/0.3786, allocations: 107.8 kB / 0.5762 GB, free: 3.727 MB / 414.1 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.0003008/0.3789, allocations: 163 kB / 0.5764 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003292/0.3792, allocations: 165.9 kB / 0.5765 GB, free: 3.398 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.3792, allocations: 4 kB / 0.5765 GB, free: 3.395 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.3793, allocations: 35.86 kB / 0.5766 GB, free: 3.359 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.3797, allocations: 44.39 kB / 0.5766 GB, free: 3.316 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3808, allocations: 0.5147 MB / 0.5771 GB, free: 2.773 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001306/0.3809, allocations: 120.6 kB / 0.5772 GB, free: 2.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002151/0.3811, allocations: 58.78 kB / 0.5773 GB, free: 2.578 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.3812, allocations: 27.44 kB / 0.5773 GB, free: 2.551 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3812, allocations: 4 kB / 0.5773 GB, free: 2.547 MB / 414.1 MB Notification: Performance of Templates: time 0.0085/0.3897, allocations: 3.753 MB / 0.581 GB, free: 14.84 MB / 430.1 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.505429787561297]