Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.002045/0.002045, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002776/0.002776, allocations: 209.8 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.675/1.675, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] 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.2191/0.2191, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.1 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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003106/0.003106, allocations: 63.89 kB / 0.493 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4544/0.4575, allocations: 65.46 MB / 0.557 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03393/0.4915, allocations: 27.72 MB / 0.584 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02068/0.5121, allocations: 15.68 MB / 0.5993 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003708/0.5125, allocations: 15.81 kB / 0.5994 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007267/0.5132, allocations: 194.7 kB / 0.5995 GB, free: 11.78 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007176/0.514, allocations: 286.4 kB / 0.5998 GB, free: 11.5 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01633/0.5303, allocations: 5.987 MB / 0.6057 GB, free: 5.516 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.5316, allocations: 0.8498 MB / 0.6065 GB, free: 4.664 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.532, allocations: 204.9 kB / 0.6067 GB, free: 4.461 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01153/0.5435, allocations: 5.478 MB / 0.612 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.5441, allocations: 246.9 kB / 0.6123 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.24e-05/0.5442, allocations: 32 kB / 0.6123 GB, free: 14.63 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.5558, allocations: 6.056 MB / 0.6182 GB, free: 8.562 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002006/0.556, allocations: 95.67 kB / 0.6183 GB, free: 8.469 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002671/0.5563, allocations: 163.3 kB / 0.6185 GB, free: 8.309 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007635/0.5639, allocations: 3.854 MB / 0.6222 GB, free: 4.445 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.5639, allocations: 0 / 0.6222 GB, free: 4.445 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5639, allocations: 0 / 0.6222 GB, free: 4.445 MB / 462.1 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.5639, allocations: 4 kB / 0.6222 GB, free: 4.441 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.002114/0.5661, allocations: 1.001 MB / 0.6232 GB, free: 3.406 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5661, allocations: 8.031 kB / 0.6232 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.665e-05/0.5662, allocations: 66.72 kB / 0.6233 GB, free: 3.324 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001581/0.5678, allocations: 200.4 kB / 0.6235 GB, free: 3.129 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.5683, allocations: 284.9 kB / 0.6237 GB, free: 2.82 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.642e-05/0.5683, allocations: 25.03 kB / 0.6238 GB, free: 2.793 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.5683, allocations: 28.12 kB / 0.6238 GB, free: 2.766 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.5696, allocations: 0.6351 MB / 0.6244 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.5696, allocations: 0 / 0.6244 GB, free: 2.055 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.5697, allocations: 12 kB / 0.6244 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.5697, allocations: 8 kB / 0.6244 GB, free: 2.035 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.5709, allocations: 413.2 kB / 0.6248 GB, free: 1.633 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002898/0.5738, allocations: 1.828 MB / 0.6266 GB, free: 15.72 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.5749, allocations: 318.2 kB / 0.6269 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002899/0.5752, allocations: 108.7 kB / 0.627 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03165/0.6068, allocations: 8.859 MB / 0.6357 GB, free: 6.426 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.552e-05/0.6069, allocations: 30.56 kB / 0.6357 GB, free: 6.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.234e-06/0.6069, allocations: 0 / 0.6357 GB, free: 6.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002048/0.6089, allocations: 0.5234 MB / 0.6362 GB, free: 5.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.519e-05/0.609, allocations: 110.8 kB / 0.6363 GB, free: 5.727 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004016/0.6094, allocations: 324.4 kB / 0.6366 GB, free: 5.395 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.6094, allocations: 37.64 kB / 0.6367 GB, free: 5.352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.6096, allocations: 212 kB / 0.6369 GB, free: 5.141 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.786e-05/0.6096, allocations: 55.58 kB / 0.6369 GB, free: 5.086 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.6097, allocations: 65.69 kB / 0.637 GB, free: 5.016 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.6099, allocations: 342.8 kB / 0.6373 GB, free: 4.672 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002732/0.6102, allocations: 91.92 kB / 0.6374 GB, free: 4.582 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004168/0.6106, allocations: 266.7 kB / 0.6377 GB, free: 4.254 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006231/0.6112, allocations: 289.4 kB / 0.6379 GB, free: 3.922 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.6112, allocations: 8 kB / 0.6379 GB, free: 3.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008071/0.612, allocations: 340 kB / 0.6383 GB, free: 3.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.612, allocations: 8 kB / 0.6383 GB, free: 3.57 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.612, allocations: 7.938 kB / 0.6383 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.6121, allocations: 4 kB / 0.6383 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.6123, allocations: 71.89 kB / 0.6383 GB, free: 3.488 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.6124, allocations: 7.938 kB / 0.6384 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.6126, allocations: 51.95 kB / 0.6384 GB, free: 3.43 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.814e-05/0.6126, allocations: 16 kB / 0.6384 GB, free: 3.414 MB / 478.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.0001848/0.6128, allocations: 157.7 kB / 0.6386 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.221e-05/0.6129, allocations: 35.81 kB / 0.6386 GB, free: 3.215 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.6145, allocations: 1.166 MB / 0.6397 GB, free: 2.043 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.6145, allocations: 15.97 kB / 0.6398 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.6145, allocations: 0 / 0.6398 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.6145, allocations: 0 / 0.6398 GB, free: 2.027 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006937/0.6152, allocations: 0.6086 MB / 0.6404 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.6152, allocations: 3.938 kB / 0.6404 GB, free: 1.371 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.6154, allocations: 51.89 kB / 0.6404 GB, free: 1.32 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.6154, allocations: 4 kB / 0.6404 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.6154, allocations: 7.922 kB / 0.6404 GB, free: 1.309 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6154, allocations: 4 kB / 0.6404 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6155, allocations: 0 / 0.6404 GB, free: 1.305 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00094/0.6164, allocations: 0.6352 MB / 0.641 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.552e-05/0.6165, allocations: 55.48 kB / 0.6411 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.6165, allocations: 31.72 kB / 0.6411 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.6168, allocations: 15.98 kB / 0.6411 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.6168, allocations: 23.95 kB / 0.6412 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.6168, allocations: 4 kB / 0.6412 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003904/0.6172, allocations: 358.7 kB / 0.6415 GB, free: 176 kB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6172, allocations: 0 / 0.6415 GB, free: 176 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.00234/0.6196, allocations: 0.85 MB / 0.6423 GB, free: 15.32 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.004642/0.6242, allocations: 2.083 MB / 0.6444 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008543/0.6251, allocations: 352.2 kB / 0.6447 GB, free: 12.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6251, allocations: 8.875 kB / 0.6447 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.6254, allocations: 212.5 kB / 0.6449 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.6265, allocations: 196.7 kB / 0.6451 GB, free: 12.47 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006963/0.6334, allocations: 4.3 MB / 0.6493 GB, free: 7.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.6337, allocations: 280.8 kB / 0.6496 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003908/0.6341, allocations: 175 kB / 0.6497 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000249/0.6344, allocations: 195.4 kB / 0.6499 GB, free: 7.324 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.6344, allocations: 0 / 0.6499 GB, free: 7.324 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08873/0.7231, allocations: 41.65 MB / 0.6906 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.16/13.88, allocations: 7.938 kB / 0.6906 GB, free: 13.93 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy.s from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! Error: Could not read variable specificEntropy1.s in file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy1.s from file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.44904969073832]