Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.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.001074/0.001074, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00127/0.00127, allocations: 162.9 kB / 24.99 MB, free: 9.273 MB / 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 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3117/0.3117, allocations: 34.26 MB / 296 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.LinearColdWater,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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") translateModel(ModelicaTest.Media.TestAllProperties.LinearColdWater,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.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 378 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.58e-05/4.86e-05, allocations: 2.312 kB / 378 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.007792/0.007841, allocations: 4.7 MB / 382.7 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004923/0.01276, allocations: 4.095 MB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001692/0.01293, allocations: 0 / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003679/0.0133, allocations: 51.62 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.01528, allocations: 0.7687 MB / 387.7 MB, free: 9.262 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.01561, allocations: 135.7 kB / 387.8 MB, free: 9.129 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.0162, allocations: 377.9 kB / 388.2 MB, free: 8.758 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.041e-05/0.01626, allocations: 5.812 kB / 388.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002679/0.01653, allocations: 195.4 kB / 388.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.01676, allocations: 139.6 kB / 388.5 MB, free: 8.422 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.106e-05/0.01679, allocations: 15.94 kB / 388.5 MB, free: 8.406 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008446/0.01763, allocations: 375.4 kB / 388.9 MB, free: 8.039 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.955e-05/0.01772, allocations: 51.75 kB / 388.9 MB, free: 7.988 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.801e-05/0.01782, allocations: 79.77 kB / 389 MB, free: 7.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001073/0.01889, allocations: 474.5 kB / 389.5 MB, free: 7.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.974e-06/0.0189, allocations: 3.984 kB / 389.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.0189, allocations: 0 / 389.5 MB, free: 7.441 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.436e-06/0.01891, allocations: 0 / 389.5 MB, free: 7.441 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.001424/0.02034, allocations: 0.6284 MB / 390.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.02039, allocations: 12.03 kB / 390.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.02063, allocations: 44.78 kB / 390.2 MB, free: 6.723 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.0209, allocations: 172.3 kB / 390.3 MB, free: 6.527 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.02107, allocations: 226.7 kB / 390.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.02111, allocations: 24.38 kB / 390.6 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00053/0.02164, allocations: 446.2 kB / 391 MB, free: 5.727 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.02166, allocations: 4.188 kB / 391 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.02169, allocations: 11.92 kB / 391 MB, free: 5.711 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.501e-05/0.02173, allocations: 11.94 kB / 391 MB, free: 5.699 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006073/0.02234, allocations: 0.5255 MB / 391.6 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.02368, allocations: 1.335 MB / 392.9 MB, free: 3.766 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003448/0.02402, allocations: 148.2 kB / 393 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.02413, allocations: 64.31 kB / 393.1 MB, free: 3.543 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.02516, allocations: 0.8284 MB / 393.9 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.02519, allocations: 33.39 kB / 394 MB, free: 2.652 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.573e-06/0.02519, allocations: 0 / 394 MB, free: 2.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002519/0.02545, allocations: 113.4 kB / 394.1 MB, free: 2.535 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.02548, allocations: 55.41 kB / 394.1 MB, free: 2.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.02565, allocations: 298.4 kB / 394.4 MB, free: 2.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.02567, allocations: 29.7 kB / 394.5 MB, free: 2.125 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.02579, allocations: 274.2 kB / 394.7 MB, free: 1.852 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.564e-05/0.02581, allocations: 43.69 kB / 394.8 MB, free: 1.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.675e-05/0.02589, allocations: 91.75 kB / 394.9 MB, free: 1.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.02602, allocations: 0.5039 MB / 395.4 MB, free: 1.195 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.752e-05/0.02607, allocations: 36.97 kB / 395.4 MB, free: 1.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.02632, allocations: 471.9 kB / 395.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007124/0.02703, allocations: 0.5667 MB / 396.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.02704, allocations: 4 kB / 396.4 MB, free: 15.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004157/0.02745, allocations: 381.3 kB / 396.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.02748, allocations: 8 kB / 396.8 MB, free: 15.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.02749, allocations: 12 kB / 396.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.02752, allocations: 12 kB / 396.8 MB, free: 15.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.02767, allocations: 99.83 kB / 396.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.02768, allocations: 20.48 kB / 396.9 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.02782, allocations: 59.56 kB / 397 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.02785, allocations: 35.94 kB / 397 MB, free: 15.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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.0001117/0.02796, allocations: 196.3 kB / 397.2 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.52e-05/0.028, allocations: 23.86 kB / 397.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002304/0.02823, allocations: 146.7 kB / 397.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.02824, allocations: 0 / 397.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.02824, allocations: 0 / 397.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.02825, allocations: 4 kB / 397.4 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.02858, allocations: 404.3 kB / 397.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.02859, allocations: 4 kB / 397.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.215e-05/0.02862, allocations: 15.94 kB / 397.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.02862, allocations: 4 kB / 397.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.02863, allocations: 0 / 397.8 MB, free: 14.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.02864, allocations: 12.03 kB / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.02864, allocations: 0 / 397.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.0288, allocations: 262.8 kB / 398.1 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.02883, allocations: 27.83 kB / 398.1 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.02886, allocations: 7.953 kB / 398.1 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.804e-05/0.02893, allocations: 7.938 kB / 398.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.216e-05/0.02896, allocations: 3.984 kB / 398.1 MB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.358e-06/0.02897, allocations: 8 kB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001126/0.02908, allocations: 193.1 kB / 398.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02908, allocations: 0 / 398.3 MB, free: 13.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003829/0.02946, allocations: 95.88 kB / 398.4 MB, free: 13.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (9): * Single equations (assignments): 8 * 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.0002786/0.02974, allocations: 167.1 kB / 398.6 MB, free: 13.43 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.02998, allocations: 170.7 kB / 398.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.02998, allocations: 0 / 398.8 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.742e-05/0.03001, allocations: 35.55 kB / 398.8 MB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.03033, allocations: 52.5 kB / 398.8 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.03148, allocations: 0.5259 MB / 399.4 MB, free: 12.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.156e-05/0.03153, allocations: 72.33 kB / 399.4 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001371/0.03167, allocations: 50.92 kB / 399.5 MB, free: 12.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.03171, allocations: 28.5 kB / 399.5 MB, free: 12.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.182e-06/0.03172, allocations: 7.938 kB / 399.5 MB, free: 12.44 MB / 378.7 MB Notification: Performance of Templates: time 0.005892/0.03761, allocations: 3.09 MB / 402.6 MB, free: 9.398 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/LinearColdWater/LinearColdWater.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat. Warning: Get data of variable eps from file ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2268290570937097]