Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.001672/0.001672, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002108/0.002108, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 254.1 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] 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.2415/0.2415, allocations: 46.92 MB / 357.1 MB, free: 10.33 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 59.91 kB / 0.4909 GB, free: 7.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1354, allocations: 65.99 MB / 0.5554 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03482/0.1702, allocations: 30.36 MB / 0.585 GB, free: 7.391 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3175/0.4877, allocations: 15.59 MB / 0.6002 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005375/0.4882, allocations: 15.91 kB / 0.6003 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009043/0.4891, allocations: 217.6 kB / 0.6005 GB, free: 3.75 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009037/0.4901, allocations: 284.2 kB / 0.6007 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0178/0.5079, allocations: 5.642 MB / 0.6063 GB, free: 3.613 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001332/0.5092, allocations: 0.818 MB / 0.607 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004261/0.5096, allocations: 198.5 kB / 0.6072 GB, free: 3.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01279/0.5224, allocations: 5.51 MB / 0.6126 GB, free: 1.992 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005928/0.523, allocations: 243.1 kB / 0.6129 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.226e-05/0.5231, allocations: 31.91 kB / 0.6129 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0141/0.5372, allocations: 6.095 MB / 0.6188 GB, free: 1.543 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.5374, allocations: 95.84 kB / 0.6189 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003721/0.5377, allocations: 190.1 kB / 0.6191 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01011/0.5478, allocations: 3.673 MB / 0.6227 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5478, allocations: 3.938 kB / 0.6227 GB, free: 15.48 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.5478, allocations: 4 kB / 0.6227 GB, free: 15.47 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.5479, allocations: 0 / 0.6227 GB, free: 15.47 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.003422/0.5513, allocations: 1.024 MB / 0.6237 GB, free: 14.68 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5513, allocations: 8.719 kB / 0.6237 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.814e-05/0.5514, allocations: 63.53 kB / 0.6238 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.5525, allocations: 129.2 kB / 0.6239 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006372/0.5531, allocations: 342.1 kB / 0.6242 GB, free: 14.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.499e-05/0.5531, allocations: 23.19 kB / 0.6242 GB, free: 14.23 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.5532, allocations: 27.91 kB / 0.6243 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.5544, allocations: 454.3 kB / 0.6247 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.5544, allocations: 2.156 kB / 0.6247 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.5544, allocations: 11.09 kB / 0.6247 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.807e-06/0.5544, allocations: 8.625 kB / 0.6247 GB, free: 13.89 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.5555, allocations: 370.3 kB / 0.6251 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003412/0.5589, allocations: 2.378 MB / 0.6274 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/0.56, allocations: 268.9 kB / 0.6277 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002843/0.5603, allocations: 89.73 kB / 0.6277 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005481/0.5609, allocations: 491.4 kB / 0.6282 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.5609, allocations: 35.84 kB / 0.6282 GB, free: 10.73 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.813e-06/0.5609, allocations: 1.344 kB / 0.6282 GB, free: 10.73 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.00179/0.5627, allocations: 449.6 kB / 0.6287 GB, free: 10.5 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.894e-05/0.5628, allocations: 112.2 kB / 0.6288 GB, free: 10.37 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003836/0.5632, allocations: 321.3 kB / 0.6291 GB, free: 10.16 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.208e-05/0.5632, allocations: 30.92 kB / 0.6291 GB, free: 10.13 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001696/0.5634, allocations: 213.4 kB / 0.6293 GB, free: 9.938 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.5634, allocations: 37.16 kB / 0.6294 GB, free: 9.906 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.5635, allocations: 58.31 kB / 0.6294 GB, free: 9.863 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.5637, allocations: 341.7 kB / 0.6297 GB, free: 9.527 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002761/0.564, allocations: 85.3 kB / 0.6298 GB, free: 9.488 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003911/0.5644, allocations: 209.4 kB / 0.63 GB, free: 9.289 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006384/0.565, allocations: 289.2 kB / 0.6303 GB, free: 9.055 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.565, allocations: 1.375 kB / 0.6303 GB, free: 9.055 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008177/0.5658, allocations: 312.3 kB / 0.6306 GB, free: 8.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.5658, allocations: 6.875 kB / 0.6306 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.5659, allocations: 2.75 kB / 0.6306 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/0.5659, allocations: 7.406 kB / 0.6306 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.5661, allocations: 64.55 kB / 0.6307 GB, free: 8.871 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/0.5662, allocations: 14.12 kB / 0.6307 GB, free: 8.863 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.5665, allocations: 47.62 kB / 0.6307 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.973e-05/0.5665, allocations: 13.89 kB / 0.6307 GB, free: 8.828 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_2.medium.phase,boundary_prescriberho_1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 27 * Array equations: 0 * 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.0002279/0.5667, allocations: 159.2 kB / 0.6309 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.774e-05/0.5668, allocations: 29.69 kB / 0.6309 GB, free: 8.668 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.568, allocations: 0.7492 MB / 0.6317 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.5681, allocations: 6.766 kB / 0.6317 GB, free: 8.211 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.5681, allocations: 7.875 kB / 0.6317 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.5681, allocations: 0 / 0.6317 GB, free: 8.203 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006191/0.5687, allocations: 0.5353 MB / 0.6322 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.5687, allocations: 0 / 0.6322 GB, free: 7.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002135/0.5689, allocations: 52.95 kB / 0.6322 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.5689, allocations: 0 / 0.6322 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.5689, allocations: 2.469 kB / 0.6322 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5689, allocations: 0 / 0.6322 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.5689, allocations: 3.938 kB / 0.6322 GB, free: 7.742 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.5697, allocations: 460.2 kB / 0.6327 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.5698, allocations: 125.5 kB / 0.6328 GB, free: 7.309 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.51e-05/0.5698, allocations: 24.12 kB / 0.6328 GB, free: 7.293 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.5701, allocations: 16.55 kB / 0.6328 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.5701, allocations: 20.72 kB / 0.6329 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.5702, allocations: 6.188 kB / 0.6329 GB, free: 7.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003708/0.5705, allocations: 345.3 kB / 0.6332 GB, free: 7.066 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5705, allocations: 3.938 kB / 0.6332 GB, free: 7.062 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003965/0.5745, allocations: 0.8495 MB / 0.634 GB, free: 6.91 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007243/0.5817, allocations: 1.888 MB / 0.6359 GB, free: 5.836 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0009417/0.5827, allocations: 263.3 kB / 0.6361 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5827, allocations: 0 / 0.6361 GB, free: 5.719 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.583, allocations: 135.2 kB / 0.6363 GB, free: 5.656 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.584, allocations: 193.8 kB / 0.6364 GB, free: 5.555 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007692/0.5917, allocations: 4.024 MB / 0.6404 GB, free: 2.727 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.5922, allocations: 0.8461 MB / 0.6412 GB, free: 1.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000412/0.5926, allocations: 153.7 kB / 0.6413 GB, free: 1.711 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.5929, allocations: 159.4 kB / 0.6415 GB, free: 1.555 MB / 462.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5929, allocations: 3.938 kB / 0.6415 GB, free: 1.551 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08196/0.6748, allocations: 39.08 MB / 0.6797 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.11, allocations: 18.64 kB / 0.6797 GB, free: 10.6 MB / 0.4981 GB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201597 ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable specificEnthalpy.h_out in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy.h_out from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! Error: Could not read variable specificEnthalpy1.h_out in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv. Warning: Get data of variable specificEnthalpy1.h_out from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.468470079998951]