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.0009952/0.0009952, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001502/0.001502, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9376/0.9376, allocations: 177.2 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] 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.2706/0.2706, allocations: 32.81 MB / 294.3 MB, free: 1.254 MB / 266.7 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.[0-9,]+.|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.[0-9,]+.|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 2.244e-06/2.244e-06, allocations: 0 / 376 MB, free: 4.664 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.331e-05/3.556e-05, allocations: 4.844 kB / 376.1 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater): time 0.008046/0.008082, allocations: 5.128 MB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006121/0.0142, allocations: 4.683 MB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002077/0.01441, allocations: 4 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.01477, allocations: 59.61 kB / 385.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.01731, allocations: 0.7181 MB / 386.6 MB, free: 10.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000474/0.01778, allocations: 163.7 kB / 386.8 MB, free: 9.855 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007411/0.01852, allocations: 401.8 kB / 387.2 MB, free: 9.461 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.419e-05/0.01859, allocations: 9.797 kB / 387.2 MB, free: 9.449 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.01908, allocations: 207.4 kB / 387.4 MB, free: 9.246 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002229/0.01931, allocations: 115.7 kB / 387.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.01934, allocations: 8 kB / 387.5 MB, free: 9.125 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007073/0.02005, allocations: 331.4 kB / 387.9 MB, free: 8.801 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.06e-05/0.02013, allocations: 51.7 kB / 387.9 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.771e-05/0.02021, allocations: 79.77 kB / 388 MB, free: 8.672 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007137/0.02093, allocations: 430.7 kB / 388.4 MB, free: 8.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.02094, allocations: 4 kB / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.02094, allocations: 0 / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.02094, allocations: 0 / 388.4 MB, free: 8.246 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.000951/0.02189, allocations: 0.6167 MB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.02194, allocations: 8.031 kB / 389 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.02214, allocations: 56.72 kB / 389.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002413/0.02238, allocations: 180.2 kB / 389.3 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/0.02253, allocations: 226.7 kB / 389.5 MB, free: 7.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.02258, allocations: 28.36 kB / 389.5 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004221/0.023, allocations: 468 kB / 390 MB, free: 6.492 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.02301, allocations: 4.188 kB / 390 MB, free: 6.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.407e-05/0.02304, allocations: 11.94 kB / 390 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.242e-05/0.02307, allocations: 8 kB / 390 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.0235, allocations: 0.5255 MB / 390.5 MB, free: 5.941 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001169/0.02467, allocations: 1.331 MB / 391.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.02497, allocations: 127.3 kB / 392 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.172e-05/0.02505, allocations: 63.64 kB / 392 MB, free: 4.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.02612, allocations: 0.7413 MB / 392.8 MB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.02615, allocations: 37.39 kB / 392.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.725e-06/0.02615, allocations: 0 / 392.8 MB, free: 3.531 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005438/0.02669, allocations: 209.1 kB / 393 MB, free: 3.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.02672, allocations: 51.41 kB / 393.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.0269, allocations: 294.1 kB / 393.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.02692, allocations: 29.7 kB / 393.4 MB, free: 2.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.02703, allocations: 270.3 kB / 393.6 MB, free: 2.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.06e-05/0.02706, allocations: 59.52 kB / 393.7 MB, free: 2.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.416e-05/0.02714, allocations: 87.8 kB / 393.8 MB, free: 2.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.02726, allocations: 0.5 MB / 394.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.02732, allocations: 44.89 kB / 394.3 MB, free: 1.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.02753, allocations: 427.8 kB / 394.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.02788, allocations: 0.4983 MB / 395.3 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.02788, allocations: 0 / 395.3 MB, free: 0.6719 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004133/0.02829, allocations: 373.1 kB / 395.6 MB, free: 308 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.02832, allocations: 12 kB / 395.6 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.02834, allocations: 12 kB / 395.6 MB, free: 284 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.256e-05/0.02837, allocations: 12.81 kB / 395.7 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.02861, allocations: 111.8 kB / 395.8 MB, free: 160 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/0.02862, allocations: 19.92 kB / 395.8 MB, free: 140 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001311/0.02875, allocations: 16 kB / 395.8 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.02878, allocations: 24 kB / 395.8 MB, free: 100 kB / 362.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.0001819/0.02896, allocations: 192.3 kB / 396 MB, free: 15.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.552e-05/0.02903, allocations: 23.91 kB / 396 MB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.02933, allocations: 161.6 kB / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.02934, allocations: 4 kB / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.02935, allocations: 0 / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.02935, allocations: 0 / 396.2 MB, free: 15.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.02991, allocations: 420.9 kB / 396.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.02991, allocations: 4 kB / 396.6 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001447/0.03006, allocations: 32.02 kB / 396.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.03006, allocations: 0 / 396.6 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.03007, allocations: 7.984 kB / 396.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.03008, allocations: 4 kB / 396.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.03008, allocations: 0 / 396.6 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00025/0.03033, allocations: 263.4 kB / 396.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.695e-05/0.03039, allocations: 31.84 kB / 396.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.047e-05/0.03042, allocations: 0 / 396.9 MB, free: 14.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.03058, allocations: 11.98 kB / 396.9 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.03061, allocations: 11.92 kB / 397 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.03063, allocations: 12 kB / 397 MB, free: 14.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000133/0.03077, allocations: 189.1 kB / 397.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03077, allocations: 0 / 397.2 MB, free: 14.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006103/0.03138, allocations: 95.88 kB / 397.3 MB, free: 14.58 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.0003177/0.03169, allocations: 171 kB / 397.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003206/0.03202, allocations: 182.3 kB / 397.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.03202, allocations: 0 / 397.6 MB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.309e-05/0.03207, allocations: 42.61 kB / 397.6 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.03253, allocations: 60.67 kB / 397.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.03394, allocations: 0.4916 MB / 398.2 MB, free: 13.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.031e-05/0.03399, allocations: 76.64 kB / 398.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001502/0.03414, allocations: 62.77 kB / 398.3 MB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.03418, allocations: 36.48 kB / 398.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of SimCode: time 1.153e-06/0.03419, allocations: 0 / 398.4 MB, free: 13.41 MB / 378.7 MB Notification: Performance of Templates: time 0.005403/0.03959, allocations: 3.375 MB / 401.7 MB, free: 10.08 MB / 378.7 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.ConstantPropertyLiquidWater.pipe 2>&1) [Timeout 240] 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","",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: 3.4843685110099614]