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.001599/0.001599, allocations: 124.5 kB / 17.79 MB, free: 5.266 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.00175/0.00175, allocations: 211.2 kB / 20.75 MB, free: 2.312 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.532/1.532, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2215/0.2215, allocations: 44.9 MB / 355.1 MB, free: 12.32 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.001987/0.001987, allocations: 67.89 kB / 499.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1264, allocations: 65.42 MB / 0.5518 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03678/0.1632, allocations: 30.4 MB / 0.5814 GB, free: 11.63 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.3244/0.4876, allocations: 17.69 MB / 0.5987 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000404/0.488, allocations: 15.69 kB / 0.5987 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006629/0.4886, allocations: 211.5 kB / 0.5989 GB, free: 3.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006853/0.4893, allocations: 284.5 kB / 0.5992 GB, free: 3.727 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01875/0.5081, allocations: 6.058 MB / 0.6051 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001408/0.5095, allocations: 0.8371 MB / 0.6059 GB, free: 3.656 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004444/0.5099, allocations: 209.5 kB / 0.6061 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01095/0.5209, allocations: 5.481 MB / 0.6115 GB, free: 2.203 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/0.5214, allocations: 256.2 kB / 0.6117 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.804e-05/0.5215, allocations: 29.97 kB / 0.6118 GB, free: 2.195 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01301/0.5345, allocations: 6.34 MB / 0.618 GB, free: 2.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002416/0.5348, allocations: 90.73 kB / 0.618 GB, free: 2.004 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004658/0.5352, allocations: 194.3 kB / 0.6182 GB, free: 1.941 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0125/0.5477, allocations: 3.87 MB / 0.622 GB, free: 88 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.5477, allocations: 0 / 0.622 GB, free: 88 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5477, allocations: 5.906 kB / 0.622 GB, free: 88 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.5477, allocations: 0 / 0.622 GB, free: 88 kB / 446.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.004592/0.5523, allocations: 1.074 MB / 0.6231 GB, free: 15.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.5524, allocations: 10.19 kB / 0.6231 GB, free: 15.25 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.695e-05/0.5525, allocations: 64.19 kB / 0.6231 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.5542, allocations: 208.9 kB / 0.6233 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006064/0.5548, allocations: 348.8 kB / 0.6237 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.5549, allocations: 26.92 kB / 0.6237 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.329e-05/0.5549, allocations: 26.44 kB / 0.6237 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001263/0.5562, allocations: 494.1 kB / 0.6242 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.5562, allocations: 4.875 kB / 0.6242 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.574e-05/0.5562, allocations: 11.16 kB / 0.6242 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.5562, allocations: 5.562 kB / 0.6242 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.5575, allocations: 413.5 kB / 0.6246 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/0.5607, allocations: 2.428 MB / 0.627 GB, free: 11.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.562, allocations: 321.3 kB / 0.6273 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.5623, allocations: 103.9 kB / 0.6274 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03692/0.5992, allocations: 18.38 MB / 0.6453 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/0.5993, allocations: 38.56 kB / 0.6454 GB, free: 11.54 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.5993, allocations: 0 / 0.6454 GB, free: 11.54 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002297/0.6016, allocations: 0.526 MB / 0.6459 GB, free: 11.01 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.685e-05/0.6016, allocations: 106.8 kB / 0.646 GB, free: 10.88 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.6021, allocations: 328.4 kB / 0.6463 GB, free: 10.56 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.6021, allocations: 29.7 kB / 0.6463 GB, free: 10.52 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.6023, allocations: 215.2 kB / 0.6465 GB, free: 10.31 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.775e-05/0.6023, allocations: 43.59 kB / 0.6466 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.6025, allocations: 73.58 kB / 0.6466 GB, free: 10.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.6026, allocations: 346.8 kB / 0.647 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.6029, allocations: 83.94 kB / 0.6471 GB, free: 9.762 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004098/0.6033, allocations: 215.4 kB / 0.6473 GB, free: 9.496 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006763/0.604, allocations: 296.6 kB / 0.6475 GB, free: 9.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.604, allocations: 0 / 0.6475 GB, free: 9.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008436/0.6048, allocations: 337 kB / 0.6479 GB, free: 8.824 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.686e-05/0.6049, allocations: 12.31 kB / 0.6479 GB, free: 8.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.527e-06/0.6049, allocations: 4 kB / 0.6479 GB, free: 8.812 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.6049, allocations: 11.94 kB / 0.6479 GB, free: 8.801 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.6052, allocations: 67.89 kB / 0.648 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.704e-05/0.6052, allocations: 15.92 kB / 0.648 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.6055, allocations: 43.72 kB / 0.648 GB, free: 8.676 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/0.6055, allocations: 16 kB / 0.648 GB, free: 8.66 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.00019/0.6057, allocations: 155.9 kB / 0.6482 GB, free: 8.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.187e-05/0.6058, allocations: 35.81 kB / 0.6482 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.6074, allocations: 1.106 MB / 0.6493 GB, free: 7.359 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.6074, allocations: 15.98 kB / 0.6493 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6074, allocations: 0 / 0.6493 GB, free: 7.344 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.6074, allocations: 3.984 kB / 0.6493 GB, free: 7.34 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.6082, allocations: 0.6674 MB / 0.65 GB, free: 6.625 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.6082, allocations: 4 kB / 0.65 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.6085, allocations: 51.89 kB / 0.65 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.6085, allocations: 0 / 0.65 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.6085, allocations: 3.938 kB / 0.65 GB, free: 6.566 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.6085, allocations: 4 kB / 0.65 GB, free: 6.562 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6085, allocations: 4.875 kB / 0.65 GB, free: 6.559 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009902/0.6095, allocations: 0.6158 MB / 0.6506 GB, free: 5.922 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001554/0.6096, allocations: 132.6 kB / 0.6508 GB, free: 5.773 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.245e-05/0.6097, allocations: 31.72 kB / 0.6508 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.6099, allocations: 19.92 kB / 0.6508 GB, free: 5.723 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.61, allocations: 27.91 kB / 0.6508 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.61, allocations: 4 kB / 0.6508 GB, free: 5.691 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0004403/0.6105, allocations: 346.8 kB / 0.6512 GB, free: 5.355 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6105, allocations: 0 / 0.6512 GB, free: 5.355 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004002/0.6145, allocations: 0.8577 MB / 0.652 GB, free: 4.496 MB / 478.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.007007/0.6215, allocations: 2.075 MB / 0.654 GB, free: 2.488 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001036/0.6225, allocations: 341.2 kB / 0.6544 GB, free: 2.156 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6225, allocations: 0 / 0.6544 GB, free: 2.156 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003871/0.6229, allocations: 208.5 kB / 0.6546 GB, free: 1.953 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.6241, allocations: 194.6 kB / 0.6547 GB, free: 1.773 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008949/0.633, allocations: 4.288 MB / 0.6589 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005225/0.6335, allocations: 0.8874 MB / 0.6598 GB, free: 12.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004289/0.634, allocations: 171 kB / 0.66 GB, free: 12.26 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002593/0.6342, allocations: 195.4 kB / 0.6601 GB, free: 12.07 MB / 494.1 MB Notification: Performance of SimCode: time 7.32e-07/0.6342, allocations: 0 / 0.6601 GB, free: 12.07 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08365/0.7179, allocations: 40.5 MB / 0.6997 GB, free: 3.719 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.32, allocations: 18.84 kB / 0.6997 GB, free: 3.703 MB / 0.5137 GB " [Timeout remaining time 649] (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: 14.769782850053161]