Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.00172/0.00172, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001664/0.001664, allocations: 208.1 kB / 23.73 MB, free: 4.387 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.463/1.463, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.2293/0.2293, allocations: 46.96 MB / 360.9 MB, free: 4.062 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.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 75.81 kB / 0.4961 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3833, allocations: 66.04 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03297/0.4163, allocations: 27.72 MB / 0.5877 GB, free: 8.457 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02183/0.4381, allocations: 15.67 MB / 0.603 GB, free: 8.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004247/0.4386, allocations: 19.88 kB / 0.603 GB, free: 8.719 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.4393, allocations: 198.7 kB / 0.6032 GB, free: 8.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006633/0.44, allocations: 290.3 kB / 0.6034 GB, free: 8.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01598/0.4559, allocations: 5.994 MB / 0.6093 GB, free: 2.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.4571, allocations: 0.8576 MB / 0.6101 GB, free: 1.391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003673/0.4575, allocations: 204.9 kB / 0.6103 GB, free: 1.188 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01088/0.4684, allocations: 5.478 MB / 0.6157 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005422/0.4689, allocations: 258.9 kB / 0.6159 GB, free: 11.38 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.62e-05/0.469, allocations: 32 kB / 0.616 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01142/0.4804, allocations: 6.295 MB / 0.6221 GB, free: 5.043 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001472/0.4805, allocations: 95.66 kB / 0.6222 GB, free: 4.949 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.4807, allocations: 159.3 kB / 0.6223 GB, free: 4.793 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006866/0.4876, allocations: 3.858 MB / 0.6261 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.4876, allocations: 0 / 0.6261 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4876, allocations: 0 / 0.6261 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.4876, allocations: 3.938 kB / 0.6261 GB, free: 0.9219 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002221/0.4899, allocations: 0.9976 MB / 0.6271 GB, free: 15.89 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.4899, allocations: 12.03 kB / 0.6271 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.584e-05/0.49, allocations: 62.72 kB / 0.6272 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00161/0.4916, allocations: 204.5 kB / 0.6274 GB, free: 15.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005943/0.4922, allocations: 284.9 kB / 0.6276 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/0.4922, allocations: 25.03 kB / 0.6277 GB, free: 15.27 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.198e-05/0.4923, allocations: 28.12 kB / 0.6277 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001327/0.4936, allocations: 0.6311 MB / 0.6283 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4936, allocations: 7.938 kB / 0.6283 GB, free: 14.53 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.4936, allocations: 12 kB / 0.6283 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4936, allocations: 4 kB / 0.6283 GB, free: 14.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.4949, allocations: 409.2 kB / 0.6287 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.4978, allocations: 1.816 MB / 0.6305 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.499, allocations: 330.2 kB / 0.6308 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003093/0.4993, allocations: 96.78 kB / 0.6309 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03031/0.5296, allocations: 8.87 MB / 0.6396 GB, free: 2.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/0.5297, allocations: 38.5 kB / 0.6396 GB, free: 2.863 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.5297, allocations: 0 / 0.6396 GB, free: 2.863 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002032/0.5317, allocations: 0.5204 MB / 0.6401 GB, free: 2.336 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.5318, allocations: 110.8 kB / 0.6402 GB, free: 2.203 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003798/0.5322, allocations: 328.4 kB / 0.6405 GB, free: 1.867 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.5322, allocations: 25.7 kB / 0.6405 GB, free: 1.836 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.5324, allocations: 216.1 kB / 0.6407 GB, free: 1.621 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.5324, allocations: 59.53 kB / 0.6408 GB, free: 1.562 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.5325, allocations: 61.69 kB / 0.6409 GB, free: 1.496 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.5327, allocations: 338.8 kB / 0.6412 GB, free: 1.156 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.5329, allocations: 91.92 kB / 0.6413 GB, free: 1.066 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.5333, allocations: 266.7 kB / 0.6415 GB, free: 0.7383 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/0.534, allocations: 296.3 kB / 0.6418 GB, free: 412 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.534, allocations: 0 / 0.6418 GB, free: 412 kB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000757/0.5347, allocations: 348.9 kB / 0.6421 GB, free: 56 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.5347, allocations: 8 kB / 0.6422 GB, free: 48 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/0.5347, allocations: 4.406 kB / 0.6422 GB, free: 44 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.5348, allocations: 12 kB / 0.6422 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002995/0.5351, allocations: 67.89 kB / 0.6422 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5351, allocations: 8 kB / 0.6422 GB, free: 15.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000243/0.5353, allocations: 47.7 kB / 0.6423 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.793e-05/0.5353, allocations: 16 kB / 0.6423 GB, free: 15.89 MB / 494.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 (30): * Single equations (assignments): 30 * 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.0001627/0.5355, allocations: 157.7 kB / 0.6425 GB, free: 15.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.797e-05/0.5356, allocations: 27.81 kB / 0.6425 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.5371, allocations: 1.145 MB / 0.6436 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.881e-05/0.5371, allocations: 15.97 kB / 0.6436 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.5371, allocations: 0 / 0.6436 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5371, allocations: 4 kB / 0.6436 GB, free: 14.53 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007082/0.5378, allocations: 0.6086 MB / 0.6442 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.5378, allocations: 0 / 0.6442 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.538, allocations: 51.95 kB / 0.6443 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.538, allocations: 0 / 0.6443 GB, free: 13.83 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/0.5381, allocations: 7.922 kB / 0.6443 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5381, allocations: 4 kB / 0.6443 GB, free: 13.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.5381, allocations: 7.875 kB / 0.6443 GB, free: 13.81 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.539, allocations: 0.6352 MB / 0.6449 GB, free: 13.16 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.5391, allocations: 55.53 kB / 0.645 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.608e-05/0.5391, allocations: 31.67 kB / 0.645 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.5393, allocations: 15.98 kB / 0.645 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/0.5394, allocations: 23.95 kB / 0.645 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.5394, allocations: 4 kB / 0.645 GB, free: 13.03 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003892/0.5398, allocations: 354.8 kB / 0.6454 GB, free: 12.68 MB / 494.1 MB Notification: Performance of sort global known variables: time 6e-08/0.5398, allocations: 0 / 0.6454 GB, free: 12.68 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002385/0.5422, allocations: 0.8577 MB / 0.6462 GB, free: 11.82 MB / 494.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: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.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 (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.004623/0.5468, allocations: 2.082 MB / 0.6482 GB, free: 9.715 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008945/0.5477, allocations: 359.6 kB / 0.6486 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.5477, allocations: 0 / 0.6486 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.5481, allocations: 215.2 kB / 0.6488 GB, free: 9.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5492, allocations: 180.6 kB / 0.649 GB, free: 8.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007759/0.5569, allocations: 4.308 MB / 0.6532 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/0.5573, allocations: 284.8 kB / 0.6534 GB, free: 4.188 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005294/0.5579, allocations: 192.5 kB / 0.6536 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003005/0.5582, allocations: 191.4 kB / 0.6538 GB, free: 3.816 MB / 494.1 MB Notification: Performance of SimCode: time 1.953e-06/0.5582, allocations: 0 / 0.6538 GB, free: 3.816 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08411/0.6423, allocations: 41.84 MB / 0.6947 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.48, allocations: 16.11 kB / 0.6947 GB, free: 10.21 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_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_TestSpecificEntropy.fmu > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable specificEntropy.s in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy.s from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! Error: Could not read variable specificEntropy1.s in file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy1.s from file ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.82516777300043]