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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 100.6 kB / 21.22 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002315/0.002315, allocations: 185.2 kB / 24.51 MB, free: 4.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.2523/0.2523, allocations: 44.9 MB / 353.5 MB, free: 11.86 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002053/0.002053, allocations: 63.91 kB / 497.7 MB, free: 1.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3577, allocations: 64.29 MB / 0.5489 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007622/0.3653, allocations: 5.011 MB / 0.5538 GB, free: 9.102 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.3712, allocations: 4.579 MB / 0.5582 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.3714, allocations: 6.594 kB / 0.5582 GB, free: 5.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.3718, allocations: 59.61 kB / 0.5583 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002709/0.3745, allocations: 0.6623 MB / 0.5589 GB, free: 4.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.375, allocations: 166 kB / 0.5591 GB, free: 4.727 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007217/0.3757, allocations: 375.5 kB / 0.5594 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.759e-05/0.3758, allocations: 7.5 kB / 0.5595 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.3761, allocations: 160.2 kB / 0.5596 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.3763, allocations: 131.5 kB / 0.5597 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.3764, allocations: 12 kB / 0.5597 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3774, allocations: 347.6 kB / 0.5601 GB, free: 3.914 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.979e-05/0.3775, allocations: 43.77 kB / 0.5601 GB, free: 3.871 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.3776, allocations: 107.5 kB / 0.5602 GB, free: 3.766 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008319/0.3784, allocations: 421.2 kB / 0.5606 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3784, allocations: 0 / 0.5606 GB, free: 3.359 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3784, allocations: 0 / 0.5606 GB, free: 3.359 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3785, allocations: 0 / 0.5606 GB, free: 3.359 MB / 398.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.001272/0.3797, allocations: 0.513 MB / 0.5611 GB, free: 2.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.619e-05/0.3798, allocations: 8.922 kB / 0.5611 GB, free: 2.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.38, allocations: 32.8 kB / 0.5612 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.3805, allocations: 182.1 kB / 0.5613 GB, free: 2.574 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.3807, allocations: 119.9 kB / 0.5615 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.3807, allocations: 24.31 kB / 0.5615 GB, free: 2.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006288/0.3813, allocations: 338.8 kB / 0.5618 GB, free: 2.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.3813, allocations: 4 kB / 0.5618 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.3814, allocations: 12 kB / 0.5618 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/0.3814, allocations: 7.984 kB / 0.5618 GB, free: 2.027 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009457/0.3823, allocations: 0.7469 MB / 0.5626 GB, free: 1.277 MB / 398.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.001554/0.3839, allocations: 1.237 MB / 0.5638 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000381/0.3843, allocations: 138.8 kB / 0.5639 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/0.3844, allocations: 72.77 kB / 0.564 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001467/0.3859, allocations: 0.6554 MB / 0.5646 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/0.3859, allocations: 38.56 kB / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/0.3859, allocations: 0 / 0.5646 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007095/0.3866, allocations: 217.1 kB / 0.5648 GB, free: 14.79 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.3867, allocations: 59.34 kB / 0.5649 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.3869, allocations: 227.6 kB / 0.5651 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.3869, allocations: 25.7 kB / 0.5651 GB, free: 14.45 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.3871, allocations: 219.5 kB / 0.5654 GB, free: 14.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.3871, allocations: 47.59 kB / 0.5654 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.3872, allocations: 90.06 kB / 0.5655 GB, free: 14.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3874, allocations: 330.8 kB / 0.5658 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.512e-05/0.3875, allocations: 48.84 kB / 0.5658 GB, free: 13.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003828/0.3879, allocations: 326 kB / 0.5662 GB, free: 13.26 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005044/0.3884, allocations: 429.1 kB / 0.5666 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.3884, allocations: 4 kB / 0.5666 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005985/0.389, allocations: 373.3 kB / 0.5669 GB, free: 12.33 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.389, allocations: 8 kB / 0.5669 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/0.389, allocations: 15.98 kB / 0.5669 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.032e-05/0.3891, allocations: 12.06 kB / 0.567 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003619/0.3894, allocations: 115.7 kB / 0.5671 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-05/0.3895, allocations: 24.44 kB / 0.5671 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002218/0.3897, allocations: 24 kB / 0.5671 GB, free: 12.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.3897, allocations: 24 kB / 0.5671 GB, free: 12.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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.0001555/0.3899, allocations: 153.5 kB / 0.5673 GB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.3899, allocations: 19.91 kB / 0.5673 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.3903, allocations: 154.9 kB / 0.5675 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.3903, allocations: 7.922 kB / 0.5675 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3903, allocations: 0 / 0.5675 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.3903, allocations: 0 / 0.5675 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.391, allocations: 402 kB / 0.5678 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.391, allocations: 0 / 0.5678 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.3912, allocations: 47.88 kB / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3912, allocations: 0 / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3912, allocations: 7.938 kB / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3912, allocations: 0 / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3912, allocations: 0 / 0.5679 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.3915, allocations: 220.2 kB / 0.5681 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.3915, allocations: 27.78 kB / 0.5681 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.257e-05/0.3916, allocations: 15.98 kB / 0.5681 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.3918, allocations: 4 kB / 0.5682 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.3918, allocations: 11.98 kB / 0.5682 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3918, allocations: 11.92 kB / 0.5682 GB, free: 10.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001528/0.392, allocations: 144.5 kB / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.392, allocations: 0 / 0.5683 GB, free: 10.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000529/0.3925, allocations: 103.9 kB / 0.5684 GB, free: 10.72 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.0003468/0.3929, allocations: 167.1 kB / 0.5686 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.3932, allocations: 166 kB / 0.5687 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.3932, allocations: 0 / 0.5687 GB, free: 10.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.468e-05/0.3933, allocations: 44.03 kB / 0.5688 GB, free: 10.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.3938, allocations: 52.45 kB / 0.5688 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.3949, allocations: 499.3 kB / 0.5693 GB, free: 9.777 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005047/0.3954, allocations: 0.7285 MB / 0.57 GB, free: 9.023 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002138/0.3956, allocations: 58.78 kB / 0.5701 GB, free: 8.961 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.364e-05/0.3956, allocations: 35.42 kB / 0.5701 GB, free: 8.93 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3956, allocations: 4 kB / 0.5701 GB, free: 8.926 MB / 414.1 MB Notification: Performance of Templates: time 0.009068/0.4047, allocations: 3.654 MB / 0.5737 GB, free: 5.301 MB / 414.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.699819979257882]