Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001241/0.001241, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001921/0.003161, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001122/0.001122, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001498/0.00262, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8398/0.8398, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1603/1, allocations: 49.49 MB / 220.7 MB, free: 1.367 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.166/0.166, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03701/0.203, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.[0-9,]+.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 267.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.326e-05, allocations: 6.25 kB / 267.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.005247/0.00526, allocations: 5.12 MB / 272.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003212/0.008472, allocations: 4.718 MB / 277.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.765e-05/0.00854, allocations: 0 / 277.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.008686, allocations: 51.67 kB / 277.3 MB, free: 8.574 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001078/0.009764, allocations: 0.6947 MB / 278 MB, free: 7.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.01002, allocations: 175.6 kB / 278.2 MB, free: 7.703 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.01046, allocations: 401.8 kB / 278.6 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.856e-05/0.0105, allocations: 10.47 kB / 278.6 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.01072, allocations: 207.4 kB / 278.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.01085, allocations: 115.6 kB / 278.9 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.105e-05/0.01087, allocations: 8 kB / 278.9 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.01134, allocations: 323.4 kB / 279.2 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.395e-05/0.01139, allocations: 31.86 kB / 279.3 MB, free: 6.629 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.045e-05/0.01145, allocations: 63.94 kB / 279.3 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003965/0.01185, allocations: 378.8 kB / 279.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057e-05/0.01186, allocations: 0 / 279.7 MB, free: 6.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.01186, allocations: 4 kB / 279.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.01187, allocations: 0 / 279.7 MB, free: 6.191 MB / 282.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.0007735/0.01264, allocations: 0.645 MB / 280.3 MB, free: 5.504 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.01267, allocations: 12.03 kB / 280.4 MB, free: 5.492 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.01279, allocations: 44.84 kB / 280.4 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.01295, allocations: 157.5 kB / 280.6 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.01306, allocations: 226.7 kB / 280.8 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.903e-05/0.0131, allocations: 28.38 kB / 280.8 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.01341, allocations: 430.9 kB / 281.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.01342, allocations: 192 / 281.2 MB, free: 4.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.01344, allocations: 15.94 kB / 281.2 MB, free: 4.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.161e-05/0.01347, allocations: 15.92 kB / 281.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.01381, allocations: 439.5 kB / 281.7 MB, free: 4.012 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007243/0.01454, allocations: 0.942 MB / 282.6 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001667/0.01471, allocations: 146.2 kB / 282.8 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.01475, allocations: 52.77 kB / 282.8 MB, free: 2.824 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/0.01547, allocations: 0.6694 MB / 283.5 MB, free: 2.141 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.339e-05/0.0155, allocations: 50.48 kB / 283.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 9.62e-07/0.0155, allocations: 0 / 283.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003993/0.0159, allocations: 233.4 kB / 283.8 MB, free: 1.848 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.01592, allocations: 51.41 kB / 283.8 MB, free: 1.785 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.01604, allocations: 225.8 kB / 284 MB, free: 1.551 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.01606, allocations: 41.67 kB / 284.1 MB, free: 1.504 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.924e-05/0.01614, allocations: 207.6 kB / 284.3 MB, free: 1.297 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.607e-05/0.01617, allocations: 55.56 kB / 284.3 MB, free: 1.242 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.221e-05/0.01624, allocations: 86.06 kB / 284.4 MB, free: 1.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.01632, allocations: 330.8 kB / 284.7 MB, free: 0.8203 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.22e-05/0.01635, allocations: 35.81 kB / 284.8 MB, free: 0.7812 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.0165, allocations: 305.7 kB / 285.1 MB, free: 364 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1354/0.1519, allocations: 421.5 kB / 285.5 MB, free: 9.125 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.1519, allocations: 4.031 kB / 285.5 MB, free: 9.125 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003677/0.1522, allocations: 300 kB / 285.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1523, allocations: 8.906 kB / 285.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.1523, allocations: 10.28 kB / 285.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.1523, allocations: 12.81 kB / 285.8 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.1526, allocations: 120.2 kB / 285.9 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.401e-05/0.1526, allocations: 18.75 kB / 286 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.1528, allocations: 52.36 kB / 286 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.1528, allocations: 23.53 kB / 286 MB, free: 9.09 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (50): * Single equations (assignments): 49 * 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 9.477e-05/0.1529, allocations: 152.5 kB / 286.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1529, allocations: 18.39 kB / 286.2 MB, free: 8.973 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001995/0.1531, allocations: 120.7 kB / 286.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.1531, allocations: 2.766 kB / 286.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.1531, allocations: 0.5312 kB / 286.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.1532, allocations: 7.016 kB / 286.3 MB, free: 8.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1533, allocations: 117.7 kB / 286.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1533, allocations: 1.375 kB / 286.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.1534, allocations: 37.47 kB / 286.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/0.1535, allocations: 29.3 kB / 286.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1535, allocations: 1.906 kB / 286.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.1535, allocations: 3.594 kB / 286.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.1535, allocations: 1.922 kB / 286.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1535, allocations: 1.859 kB / 286.5 MB, free: 8.863 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.1536, allocations: 229.3 kB / 286.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.1536, allocations: 2.422 kB / 286.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.213e-05/0.1537, allocations: 8.656 kB / 286.7 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.932e-05/0.1537, allocations: 12.19 kB / 286.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.1538, allocations: 7.391 kB / 286.8 MB, free: 8.684 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.446e-05/0.1538, allocations: 64.44 kB / 286.8 MB, free: 8.672 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1538, allocations: 0 / 286.8 MB, free: 8.672 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003306/0.1541, allocations: 105.7 kB / 286.9 MB, free: 8.668 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 12 * 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.0002345/0.1544, allocations: 150 kB / 287.1 MB, free: 8.598 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1546, allocations: 168.4 kB / 287.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/0.1546, allocations: 7.125 kB / 287.2 MB, free: 8.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.153e-05/0.1546, allocations: 40.95 kB / 287.3 MB, free: 8.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1549, allocations: 103.5 kB / 287.4 MB, free: 8.578 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.1583, allocations: 491.6 kB / 287.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.792e-05/0.1583, allocations: 72.97 kB / 287.9 MB, free: 8.297 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.1584, allocations: 55.75 kB / 288 MB, free: 8.293 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.1586, allocations: 116.8 kB / 288.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of SimCode: time 1.393e-06/0.1586, allocations: 2.062 kB / 288.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of Templates: time 0.005757/0.1643, allocations: 3.574 MB / 291.7 MB, free: 7.762 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater_res.mat failed! " [Timeout remaining time 660] Not compared, constant in the reference and not in the result: eps Reference file matches [Calling sys.exit(0), Time elapsed: 3.1913591464981437]