Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001241/0.001241, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 168.1 kB / 24.82 MB, free: 9.277 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9346/0.9346, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2773/0.2773, allocations: 34.86 MB / 296.6 MB, free: 0.5039 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 379.2 MB, free: 1.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.369e-05, allocations: 2.312 kB / 379.2 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005131/0.005155, allocations: 5.103 MB / 384.4 MB, free: 12.67 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003406/0.008561, allocations: 4.656 MB / 389 MB, free: 8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.923e-05/0.00864, allocations: 4 kB / 389 MB, free: 7.996 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.008797, allocations: 51.61 kB / 389.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001296/0.01009, allocations: 0.7181 MB / 389.8 MB, free: 7.223 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.01036, allocations: 167.7 kB / 389.9 MB, free: 7.059 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.01075, allocations: 401.8 kB / 390.3 MB, free: 6.664 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.972e-05/0.01078, allocations: 5.812 kB / 390.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000217/0.011, allocations: 211.4 kB / 390.5 MB, free: 6.449 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.01112, allocations: 115.7 kB / 390.7 MB, free: 6.336 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.01114, allocations: 8 kB / 390.7 MB, free: 6.328 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004682/0.0116, allocations: 319.4 kB / 391 MB, free: 6.016 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.785e-05/0.01165, allocations: 55.73 kB / 391 MB, free: 5.961 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.811e-05/0.01171, allocations: 75.84 kB / 391.1 MB, free: 5.887 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.01215, allocations: 446.5 kB / 391.5 MB, free: 5.449 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.302e-06/0.01215, allocations: 0 / 391.5 MB, free: 5.449 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01215, allocations: 0 / 391.5 MB, free: 5.449 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.595e-06/0.01215, allocations: 4 kB / 391.5 MB, free: 5.445 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.0006253/0.01277, allocations: 0.6167 MB / 392.2 MB, free: 4.793 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.01282, allocations: 8.031 kB / 392.2 MB, free: 4.785 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.01294, allocations: 48.73 kB / 392.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.01311, allocations: 180.2 kB / 392.4 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.01321, allocations: 226.7 kB / 392.6 MB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.658e-05/0.01324, allocations: 24.38 kB / 392.6 MB, free: 4.242 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.01354, allocations: 448 kB / 393.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.01355, allocations: 4.172 kB / 393.1 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/0.01356, allocations: 11.94 kB / 393.1 MB, free: 3.707 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.714e-05/0.01358, allocations: 11.98 kB / 393.1 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.01391, allocations: 464.6 kB / 393.6 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008213/0.01473, allocations: 1.312 MB / 394.9 MB, free: 1.871 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.01492, allocations: 119.3 kB / 395 MB, free: 1.742 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.01496, allocations: 51.66 kB / 395 MB, free: 1.688 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/0.01573, allocations: 0.7828 MB / 395.8 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.01576, allocations: 33.39 kB / 395.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.01576, allocations: 0 / 395.9 MB, free: 0.8477 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.000366/0.01613, allocations: 192.4 kB / 396 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.01615, allocations: 55.41 kB / 396.1 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.01629, allocations: 289 kB / 396.4 MB, free: 296 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/0.0163, allocations: 29.7 kB / 396.4 MB, free: 260 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.01641, allocations: 266.3 kB / 396.7 MB, free: 15.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.01644, allocations: 55.52 kB / 396.7 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-05/0.01651, allocations: 95.72 kB / 396.8 MB, free: 15.83 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.01663, allocations: 0.5 MB / 397.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.01667, allocations: 36.95 kB / 397.4 MB, free: 15.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002302/0.0169, allocations: 415.7 kB / 397.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.01722, allocations: 0.4944 MB / 398.3 MB, free: 14.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.01722, allocations: 7.938 kB / 398.3 MB, free: 14.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0003431/0.01757, allocations: 349.4 kB / 398.6 MB, free: 13.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01758, allocations: 11.94 kB / 398.6 MB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.0176, allocations: 12 kB / 398.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.01762, allocations: 12 kB / 398.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.01781, allocations: 103.8 kB / 398.7 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.01782, allocations: 19.92 kB / 398.8 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001124/0.01793, allocations: 20.44 kB / 398.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.01795, allocations: 23.98 kB / 398.8 MB, free: 13.48 MB / 378.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.000102/0.01806, allocations: 196.3 kB / 399 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.732e-05/0.01809, allocations: 27.86 kB / 399 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001922/0.01828, allocations: 146.8 kB / 399.2 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.01829, allocations: 4 kB / 399.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01829, allocations: 0 / 399.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.0183, allocations: 0 / 399.2 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.01859, allocations: 380.6 kB / 399.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.01859, allocations: 0 / 399.5 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.646e-05/0.01867, allocations: 31.92 kB / 399.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.01867, allocations: 0 / 399.6 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.01868, allocations: 11.98 kB / 399.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01868, allocations: 4.031 kB / 399.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.01868, allocations: 0 / 399.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00014/0.01882, allocations: 263.3 kB / 399.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.496e-05/0.01886, allocations: 31.83 kB / 399.9 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.01888, allocations: 8.062 kB / 399.9 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.01896, allocations: 15.98 kB / 399.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.01898, allocations: 7.984 kB / 399.9 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.01899, allocations: 4 kB / 399.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.153e-05/0.01906, allocations: 185.1 kB / 400.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01906, allocations: 0 / 400.1 MB, free: 12.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002907/0.01935, allocations: 103.8 kB / 400.2 MB, free: 12.01 MB / 378.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.0002062/0.01956, allocations: 167 kB / 400.4 MB, free: 11.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.01976, allocations: 170.5 kB / 400.5 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01976, allocations: 0 / 400.5 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.102e-05/0.01979, allocations: 39.8 kB / 400.6 MB, free: 11.63 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002694/0.02006, allocations: 60.31 kB / 400.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.02092, allocations: 0.4952 MB / 401.1 MB, free: 11.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.039e-05/0.02097, allocations: 76.64 kB / 401.2 MB, free: 10.94 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000132/0.0211, allocations: 54.83 kB / 401.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001589/0.02126, allocations: 150.1 kB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02126, allocations: 4 kB / 401.4 MB, free: 10.73 MB / 378.7 MB Notification: Performance of Templates: time 0.005328/0.02659, allocations: 3.822 MB / 405.2 MB, free: 6.961 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.078079025261104]