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.001374/0.001374, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001496/0.001496, allocations: 214.1 kB / 24.48 MB, free: 3.84 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.446/1.446, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2224/0.2224, allocations: 44.95 MB / 359.6 MB, free: 6.062 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.002149/0.002149, allocations: 71.89 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3397, allocations: 65.47 MB / 0.5582 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.007082/0.3468, allocations: 4.68 MB / 0.5628 GB, free: 2.762 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00542/0.3522, allocations: 4.092 MB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.3523, allocations: 4 kB / 0.5668 GB, free: 14.65 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.3526, allocations: 51.67 kB / 0.5668 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.3546, allocations: 0.6759 MB / 0.5675 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.355, allocations: 167 kB / 0.5677 GB, free: 13.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005967/0.3556, allocations: 366.2 kB / 0.568 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.852e-05/0.3557, allocations: 21.73 kB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.356, allocations: 151.5 kB / 0.5682 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002126/0.3562, allocations: 131.4 kB / 0.5683 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.3562, allocations: 8 kB / 0.5683 GB, free: 13.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007922/0.357, allocations: 319.7 kB / 0.5686 GB, free: 12.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.447e-05/0.3571, allocations: 47.83 kB / 0.5687 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001204/0.3572, allocations: 99.52 kB / 0.5688 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006805/0.3579, allocations: 425.1 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3579, allocations: 4 kB / 0.5692 GB, free: 12.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.3579, allocations: 7.922 kB / 0.5692 GB, free: 12.22 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.3579, allocations: 0 / 0.5692 GB, free: 12.22 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.001048/0.3589, allocations: 0.5168 MB / 0.5697 GB, free: 11.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.359, allocations: 12.03 kB / 0.5697 GB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001628/0.3591, allocations: 28.78 kB / 0.5697 GB, free: 11.64 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000361/0.3595, allocations: 178.2 kB / 0.5699 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/0.3597, allocations: 222.7 kB / 0.5701 GB, free: 11.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.583e-05/0.3597, allocations: 24.38 kB / 0.5701 GB, free: 11.14 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006482/0.3604, allocations: 0.5065 MB / 0.5706 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3604, allocations: 0 / 0.5706 GB, free: 10.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.26e-05/0.3604, allocations: 12 kB / 0.5706 GB, free: 10.56 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.62e-05/0.3605, allocations: 7.984 kB / 0.5706 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008615/0.3613, allocations: 0.7156 MB / 0.5713 GB, free: 9.832 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.001335/0.3627, allocations: 1.042 MB / 0.5724 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000358/0.363, allocations: 138.8 kB / 0.5725 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.3631, allocations: 69.39 kB / 0.5726 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001413/0.3645, allocations: 0.6517 MB / 0.5732 GB, free: 7.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.3646, allocations: 34.56 kB / 0.5732 GB, free: 7.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.3646, allocations: 0 / 0.5732 GB, free: 7.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007202/0.3653, allocations: 221.1 kB / 0.5734 GB, free: 7.586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.3653, allocations: 51.41 kB / 0.5735 GB, free: 7.523 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3656, allocations: 231.6 kB / 0.5737 GB, free: 7.289 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.3656, allocations: 29.7 kB / 0.5737 GB, free: 7.254 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3657, allocations: 223.5 kB / 0.5739 GB, free: 7.031 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.03e-05/0.3658, allocations: 59.56 kB / 0.574 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.3659, allocations: 86.08 kB / 0.5741 GB, free: 6.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.366, allocations: 326.8 kB / 0.5744 GB, free: 6.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.707e-05/0.3661, allocations: 48.83 kB / 0.5744 GB, free: 6.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.3665, allocations: 316.1 kB / 0.5747 GB, free: 6.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.3669, allocations: 415.4 kB / 0.5751 GB, free: 5.535 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.3669, allocations: 4 kB / 0.5751 GB, free: 5.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005959/0.3675, allocations: 377.3 kB / 0.5755 GB, free: 5.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.3676, allocations: 8 kB / 0.5755 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.3676, allocations: 12.12 kB / 0.5755 GB, free: 5.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.3676, allocations: 19.98 kB / 0.5755 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.368, allocations: 103.8 kB / 0.5756 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.368, allocations: 23.86 kB / 0.5757 GB, free: 4.992 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.3682, allocations: 20.44 kB / 0.5757 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.3682, allocations: 28 kB / 0.5757 GB, free: 4.945 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.0001415/0.3684, allocations: 153.6 kB / 0.5759 GB, free: 4.785 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/0.3684, allocations: 15.91 kB / 0.5759 GB, free: 4.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003171/0.3687, allocations: 154.9 kB / 0.576 GB, free: 4.609 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3688, allocations: 4 kB / 0.576 GB, free: 4.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3688, allocations: 3.938 kB / 0.576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.3688, allocations: 0 / 0.576 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005649/0.3693, allocations: 374.5 kB / 0.5764 GB, free: 4.199 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3693, allocations: 3.938 kB / 0.5764 GB, free: 4.195 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.3695, allocations: 31.98 kB / 0.5764 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.3695, allocations: 0 / 0.5764 GB, free: 4.164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.3695, allocations: 3.938 kB / 0.5764 GB, free: 4.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3695, allocations: 8.031 kB / 0.5764 GB, free: 4.152 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3695, allocations: 3.984 kB / 0.5764 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.3698, allocations: 216.2 kB / 0.5766 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.804e-05/0.3698, allocations: 23.84 kB / 0.5767 GB, free: 3.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.3699, allocations: 11.94 kB / 0.5767 GB, free: 3.883 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.3701, allocations: 7.984 kB / 0.5767 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.573e-05/0.3701, allocations: 11.98 kB / 0.5767 GB, free: 3.863 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.3701, allocations: 4 kB / 0.5767 GB, free: 3.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.3703, allocations: 152.5 kB / 0.5768 GB, free: 3.711 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3703, allocations: 0 / 0.5768 GB, free: 3.711 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005051/0.3708, allocations: 99.88 kB / 0.5769 GB, free: 3.613 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.0003144/0.3711, allocations: 178.9 kB / 0.5771 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.3714, allocations: 169.9 kB / 0.5773 GB, free: 3.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.3714, allocations: 4.062 kB / 0.5773 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.112e-05/0.3715, allocations: 35.92 kB / 0.5773 GB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.3719, allocations: 58.33 kB / 0.5774 GB, free: 3.176 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.3729, allocations: 0.5359 MB / 0.5779 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.373, allocations: 116.6 kB / 0.578 GB, free: 2.473 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.3731, allocations: 35.42 kB / 0.578 GB, free: 2.438 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3731, allocations: 0 / 0.578 GB, free: 2.438 MB / 414.1 MB Notification: Performance of Templates: time 0.00619/0.3793, allocations: 3.608 MB / 0.5816 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/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: 7.895062991883606]