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.001365/0.001365, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001674/0.001674, allocations: 168.7 kB / 24.91 MB, free: 9.195 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 0.9776/0.9776, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2674/0.2674, allocations: 34.26 MB / 296.1 MB, free: 0.6758 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 1.603e-06/1.603e-06, allocations: 0 / 325.3 MB, free: 7.656 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.537e-05/2.697e-05, allocations: 5.656 kB / 325.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.LinearColdWater): time 0.006491/0.006518, allocations: 4.69 MB / 330 MB, free: 2.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003697/0.01021, allocations: 4.155 MB / 334.1 MB, free: 14.76 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.01036, allocations: 7.938 kB / 334.1 MB, free: 14.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.01063, allocations: 51.66 kB / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.01294, allocations: 0.8156 MB / 335 MB, free: 13.88 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.0132, allocations: 147.7 kB / 335.1 MB, free: 13.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.01378, allocations: 401.9 kB / 335.5 MB, free: 13.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.01384, allocations: 10.47 kB / 335.5 MB, free: 13.33 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.01412, allocations: 203.4 kB / 335.7 MB, free: 13.13 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.01435, allocations: 131.7 kB / 335.9 MB, free: 13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.01437, allocations: 8 kB / 335.9 MB, free: 13 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008467/0.01522, allocations: 403.2 kB / 336.3 MB, free: 12.6 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.119e-05/0.01529, allocations: 47.81 kB / 336.3 MB, free: 12.55 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.988e-05/0.01537, allocations: 91.75 kB / 336.4 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007374/0.01611, allocations: 462.6 kB / 336.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.01611, allocations: 0 / 336.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.01612, allocations: 4 kB / 336.9 MB, free: 12.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.01612, allocations: 0 / 336.9 MB, free: 12.01 MB / 314.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.0008627/0.01698, allocations: 0.5049 MB / 337.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.01702, allocations: 8.031 kB / 337.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001716/0.01719, allocations: 52.8 kB / 337.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.0174, allocations: 157.5 kB / 337.6 MB, free: 11.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003184/0.01772, allocations: 226.7 kB / 337.8 MB, free: 10.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.01775, allocations: 28.38 kB / 337.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000285/0.01803, allocations: 405.2 kB / 338.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.01804, allocations: 4.188 kB / 338.2 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.054e-05/0.01806, allocations: 15.94 kB / 338.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/0.01809, allocations: 11.98 kB / 338.3 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003076/0.01839, allocations: 441.5 kB / 338.7 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.01917, allocations: 0.9385 MB / 339.6 MB, free: 9.031 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.01936, allocations: 159.4 kB / 339.8 MB, free: 8.867 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.01941, allocations: 53.48 kB / 339.8 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008641/0.02028, allocations: 0.7525 MB / 340.6 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.02031, allocations: 42.44 kB / 340.6 MB, free: 7.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.02031, allocations: 0 / 340.6 MB, free: 7.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0001573/0.02046, allocations: 127.8 kB / 340.8 MB, free: 7.867 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.02049, allocations: 51.41 kB / 340.8 MB, free: 7.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.02062, allocations: 235.1 kB / 341 MB, free: 7.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.02064, allocations: 29.7 kB / 341.1 MB, free: 7.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.462e-05/0.02073, allocations: 223.4 kB / 341.3 MB, free: 7.305 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.02075, allocations: 43.67 kB / 341.3 MB, free: 7.262 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.855e-05/0.02082, allocations: 86.06 kB / 341.4 MB, free: 7.172 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.464e-05/0.02091, allocations: 334.7 kB / 341.7 MB, free: 6.836 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.02094, allocations: 35.81 kB / 341.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.02111, allocations: 336 kB / 342.1 MB, free: 6.324 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.02137, allocations: 438.2 kB / 342.5 MB, free: 5.746 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.02138, allocations: 8 kB / 342.5 MB, free: 5.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000287/0.02167, allocations: 308.7 kB / 342.8 MB, free: 5.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.02169, allocations: 12.06 kB / 342.9 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.02171, allocations: 12 kB / 342.9 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/0.02174, allocations: 16 kB / 342.9 MB, free: 5.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.0219, allocations: 103.7 kB / 343 MB, free: 5.289 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.02191, allocations: 19.92 kB / 343 MB, free: 5.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.02205, allocations: 55.56 kB / 343.1 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.02207, allocations: 24 kB / 343.1 MB, free: 5.191 MB / 314.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 8.838e-05/0.02216, allocations: 152.4 kB / 343.2 MB, free: 5.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.0222, allocations: 15.97 kB / 343.2 MB, free: 5.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.02238, allocations: 139.4 kB / 343.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.02239, allocations: 0 / 343.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.02239, allocations: 0 / 343.4 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.0224, allocations: 3.984 kB / 343.4 MB, free: 4.863 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.02265, allocations: 321.1 kB / 343.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.02266, allocations: 7.922 kB / 343.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.02269, allocations: 12 kB / 343.7 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.02269, allocations: 64 / 343.7 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.0227, allocations: 8 kB / 343.7 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.0227, allocations: 0 / 343.7 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.0227, allocations: 0 / 343.7 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.02281, allocations: 236.7 kB / 344 MB, free: 4.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.851e-05/0.02284, allocations: 23.8 kB / 344 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.02286, allocations: 12.08 kB / 344 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.69e-05/0.02293, allocations: 4 kB / 344 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/0.02294, allocations: 11.92 kB / 344 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.02295, allocations: 4 kB / 344 MB, free: 4.176 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.106e-05/0.02301, allocations: 70.78 kB / 344.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02301, allocations: 0 / 344.1 MB, free: 4.105 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003363/0.02335, allocations: 95.86 kB / 344.2 MB, free: 4.012 MB / 314.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.000217/0.02357, allocations: 144.2 kB / 344.3 MB, free: 3.859 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002465/0.02381, allocations: 164 kB / 344.5 MB, free: 3.699 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.02382, allocations: 4.5 kB / 344.5 MB, free: 3.695 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.91e-05/0.02384, allocations: 25.47 kB / 344.5 MB, free: 3.668 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.0241, allocations: 55.34 kB / 344.6 MB, free: 3.613 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008656/0.02497, allocations: 0.5309 MB / 345.1 MB, free: 3.047 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.845e-05/0.02503, allocations: 76.27 kB / 345.2 MB, free: 2.953 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.02514, allocations: 54.92 kB / 345.2 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.02524, allocations: 99.28 kB / 345.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.02524, allocations: 0 / 345.3 MB, free: 2.801 MB / 314.7 MB Notification: Performance of Templates: time 0.005108/0.03035, allocations: 3.425 MB / 348.7 MB, free: 15.43 MB / 330.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.238129235804081]