Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001365/0.001365, allocations: 114 kB / 20.44 MB, free: 1.469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001623/0.001623, allocations: 214.1 kB / 23.74 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.605/1.605, allocations: 230.5 MB / 257.4 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2472/0.2472, allocations: 46.93 MB / 360.8 MB, free: 4.199 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 79.86 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3267, allocations: 66.09 MB / 0.5607 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.037/0.3637, allocations: 30.64 MB / 0.5907 GB, free: 5.574 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02305/0.3867, allocations: 17.78 MB / 0.608 GB, free: 3.738 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003736/0.3871, allocations: 23.81 kB / 0.608 GB, free: 3.715 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007116/0.3878, allocations: 214.6 kB / 0.6082 GB, free: 3.504 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006684/0.3885, allocations: 282.3 kB / 0.6085 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01793/0.4064, allocations: 6.083 MB / 0.6145 GB, free: 13.14 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.4077, allocations: 0.8537 MB / 0.6153 GB, free: 12.29 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.408, allocations: 208.9 kB / 0.6155 GB, free: 12.08 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01157/0.4196, allocations: 5.493 MB / 0.6209 GB, free: 6.508 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006279/0.4202, allocations: 251 kB / 0.6211 GB, free: 6.262 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.424e-05/0.4203, allocations: 32 kB / 0.6211 GB, free: 6.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/0.4338, allocations: 6.353 MB / 0.6273 GB, free: 15.87 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001994/0.434, allocations: 91.72 kB / 0.6274 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003248/0.4343, allocations: 195.1 kB / 0.6276 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009918/0.4442, allocations: 3.866 MB / 0.6314 GB, free: 11.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4443, allocations: 0 / 0.6314 GB, free: 11.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.4443, allocations: 0 / 0.6314 GB, free: 11.71 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.537e-05/0.4443, allocations: 0 / 0.6314 GB, free: 11.71 MB / 478.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.002762/0.447, allocations: 1.009 MB / 0.6324 GB, free: 10.67 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.4471, allocations: 12.03 kB / 0.6324 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.31e-05/0.4472, allocations: 62.72 kB / 0.6324 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001652/0.4488, allocations: 208.4 kB / 0.6326 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005076/0.4493, allocations: 288.9 kB / 0.6329 GB, free: 10.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.4494, allocations: 25.03 kB / 0.6329 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.4494, allocations: 28.12 kB / 0.633 GB, free: 10.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.4507, allocations: 484.1 kB / 0.6334 GB, free: 9.512 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4507, allocations: 8 kB / 0.6334 GB, free: 9.504 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.059e-05/0.4507, allocations: 12 kB / 0.6334 GB, free: 9.492 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.4507, allocations: 4 kB / 0.6334 GB, free: 9.488 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001215/0.4519, allocations: 417.2 kB / 0.6338 GB, free: 9.082 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/0.4552, allocations: 2.23 MB / 0.636 GB, free: 6.684 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.4564, allocations: 322.1 kB / 0.6363 GB, free: 6.359 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002925/0.4567, allocations: 108.8 kB / 0.6364 GB, free: 6.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03122/0.4879, allocations: 8.823 MB / 0.645 GB, free: 13.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.4879, allocations: 38.56 kB / 0.6451 GB, free: 13.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.124e-06/0.4879, allocations: 0 / 0.6451 GB, free: 13.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002085/0.49, allocations: 0.5244 MB / 0.6456 GB, free: 12.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.4901, allocations: 110.8 kB / 0.6457 GB, free: 12.71 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004344/0.4906, allocations: 324.4 kB / 0.646 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.4906, allocations: 33.64 kB / 0.646 GB, free: 12.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.4908, allocations: 208.1 kB / 0.6462 GB, free: 12.13 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.4908, allocations: 51.52 kB / 0.6463 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.4909, allocations: 69.64 kB / 0.6464 GB, free: 12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.4911, allocations: 346.8 kB / 0.6467 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/0.4914, allocations: 87.94 kB / 0.6468 GB, free: 11.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003643/0.4917, allocations: 217.4 kB / 0.647 GB, free: 11.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.4924, allocations: 296 kB / 0.6473 GB, free: 10.97 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.4924, allocations: 4 kB / 0.6473 GB, free: 10.96 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007551/0.4931, allocations: 341.2 kB / 0.6476 GB, free: 10.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.4931, allocations: 8 kB / 0.6476 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4931, allocations: 7.938 kB / 0.6476 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4932, allocations: 4 kB / 0.6476 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002759/0.4934, allocations: 67.89 kB / 0.6477 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.4935, allocations: 15.92 kB / 0.6477 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002412/0.4937, allocations: 39.98 kB / 0.6477 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.866e-05/0.4937, allocations: 20 kB / 0.6477 GB, free: 10.46 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.0001764/0.4939, allocations: 159 kB / 0.6479 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.012e-05/0.494, allocations: 31.77 kB / 0.6479 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.4956, allocations: 1.156 MB / 0.6491 GB, free: 9.109 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.4956, allocations: 11.98 kB / 0.6491 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4956, allocations: 0 / 0.6491 GB, free: 9.098 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.4956, allocations: 3.984 kB / 0.6491 GB, free: 9.094 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007617/0.4964, allocations: 0.6553 MB / 0.6497 GB, free: 8.395 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4964, allocations: 3.938 kB / 0.6497 GB, free: 8.391 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/0.4966, allocations: 51.95 kB / 0.6498 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.4966, allocations: 0 / 0.6498 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.4966, allocations: 7.938 kB / 0.6498 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4966, allocations: 0 / 0.6498 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4966, allocations: 0 / 0.6498 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.4975, allocations: 0.6391 MB / 0.6504 GB, free: 7.672 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.4976, allocations: 59.48 kB / 0.6505 GB, free: 7.613 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.4977, allocations: 31.7 kB / 0.6505 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.4979, allocations: 15.98 kB / 0.6505 GB, free: 7.566 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.4979, allocations: 19.97 kB / 0.6505 GB, free: 7.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.498, allocations: 7.984 kB / 0.6505 GB, free: 7.539 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004036/0.4984, allocations: 342.9 kB / 0.6509 GB, free: 7.203 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4984, allocations: 4 kB / 0.6509 GB, free: 7.199 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002342/0.5007, allocations: 0.8578 MB / 0.6517 GB, free: 6.34 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.004627/0.5053, allocations: 2.08 MB / 0.6537 GB, free: 4.23 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008499/0.5062, allocations: 353.7 kB / 0.6541 GB, free: 3.891 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5062, allocations: 7.875 kB / 0.6541 GB, free: 3.883 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003704/0.5066, allocations: 205.5 kB / 0.6543 GB, free: 3.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009723/0.5075, allocations: 193 kB / 0.6545 GB, free: 3.496 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006628/0.5142, allocations: 4.293 MB / 0.6586 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00053/0.5147, allocations: 0.8759 MB / 0.6595 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004253/0.5151, allocations: 191 kB / 0.6597 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002475/0.5154, allocations: 191.3 kB / 0.6599 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.5154, allocations: 0 / 0.6599 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08631/0.6017, allocations: 41.05 MB / 0.7 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.57/14.17, allocations: 3.438 kB / 0.7 GB, free: 4.809 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy.s from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! Error: Could not read variable specificEntropy1.s in file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy1.s from file ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.708796879000147]