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.001273/0.001273, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001396/0.001396, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.02 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.2228/0.2228, allocations: 44.91 MB / 358.8 MB, free: 6.281 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.002023/0.002023, allocations: 63.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3271/0.3291, allocations: 65.48 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03748/0.3666, allocations: 30.65 MB / 0.587 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02385/0.3904, allocations: 17.77 MB / 0.6043 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004157/0.3908, allocations: 15.88 kB / 0.6043 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007949/0.3916, allocations: 218.6 kB / 0.6045 GB, free: 6.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008056/0.3924, allocations: 282.4 kB / 0.6048 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01706/0.4095, allocations: 6.092 MB / 0.6108 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.4108, allocations: 0.8537 MB / 0.6116 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004571/0.4113, allocations: 211.8 kB / 0.6118 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01198/0.4232, allocations: 5.493 MB / 0.6172 GB, free: 9.938 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000543/0.4238, allocations: 255 kB / 0.6174 GB, free: 9.688 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.959e-05/0.4239, allocations: 28 kB / 0.6174 GB, free: 9.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/0.4366, allocations: 6.349 MB / 0.6236 GB, free: 3.305 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.4368, allocations: 95.72 kB / 0.6237 GB, free: 3.211 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002862/0.437, allocations: 187.1 kB / 0.6239 GB, free: 3.027 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00893/0.446, allocations: 3.866 MB / 0.6277 GB, free: 15.15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.446, allocations: 4 kB / 0.6277 GB, free: 15.15 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.446, allocations: 4 kB / 0.6277 GB, free: 15.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.446, allocations: 0 / 0.6277 GB, free: 15.14 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.002574/0.4486, allocations: 1.001 MB / 0.6287 GB, free: 14.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4486, allocations: 8.031 kB / 0.6287 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.878e-05/0.4487, allocations: 70.59 kB / 0.6287 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.4503, allocations: 208.5 kB / 0.6289 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005922/0.4509, allocations: 277 kB / 0.6292 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.451, allocations: 29.03 kB / 0.6292 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/0.451, allocations: 28.12 kB / 0.6293 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.4523, allocations: 492 kB / 0.6297 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4523, allocations: 0 / 0.6297 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.687e-05/0.4523, allocations: 12 kB / 0.6297 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.066e-05/0.4524, allocations: 8 kB / 0.6297 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.4536, allocations: 409.2 kB / 0.6301 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.4571, allocations: 2.245 MB / 0.6323 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.4582, allocations: 322.1 kB / 0.6326 GB, free: 9.785 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.4585, allocations: 104.8 kB / 0.6327 GB, free: 9.68 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03097/0.4895, allocations: 8.831 MB / 0.6414 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.966e-05/0.4895, allocations: 38.5 kB / 0.6414 GB, free: 0.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.034e-06/0.4895, allocations: 0 / 0.6414 GB, free: 0.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002067/0.4916, allocations: 0.5244 MB / 0.6419 GB, free: 268 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.062e-05/0.4917, allocations: 102.8 kB / 0.642 GB, free: 140 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004271/0.4921, allocations: 328.4 kB / 0.6423 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.4921, allocations: 29.7 kB / 0.6423 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.4923, allocations: 212.1 kB / 0.6425 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.146e-05/0.4924, allocations: 55.53 kB / 0.6426 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.4925, allocations: 69.64 kB / 0.6427 GB, free: 15.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4927, allocations: 338.8 kB / 0.643 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.4929, allocations: 87.94 kB / 0.6431 GB, free: 15 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.4933, allocations: 215.3 kB / 0.6433 GB, free: 14.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.4939, allocations: 292.2 kB / 0.6436 GB, free: 14.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4939, allocations: 4 kB / 0.6436 GB, free: 14.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008034/0.4947, allocations: 340.9 kB / 0.6439 GB, free: 14.06 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.4948, allocations: 8 kB / 0.6439 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4948, allocations: 7.938 kB / 0.6439 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.4948, allocations: 4.469 kB / 0.6439 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000285/0.4951, allocations: 79.88 kB / 0.644 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.4951, allocations: 4 kB / 0.644 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002475/0.4953, allocations: 39.77 kB / 0.644 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-05/0.4954, allocations: 16 kB / 0.644 GB, free: 13.9 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.0002327/0.4956, allocations: 157.7 kB / 0.6442 GB, free: 13.74 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/0.4957, allocations: 35.77 kB / 0.6442 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/0.4973, allocations: 1.149 MB / 0.6453 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/0.4973, allocations: 15.92 kB / 0.6454 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4973, allocations: 0 / 0.6454 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4973, allocations: 7.984 kB / 0.6454 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.4981, allocations: 0.6553 MB / 0.646 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.4981, allocations: 4 kB / 0.646 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.4984, allocations: 51.89 kB / 0.6461 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.4984, allocations: 4 kB / 0.6461 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4984, allocations: 3.938 kB / 0.6461 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4984, allocations: 0 / 0.6461 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4984, allocations: 0 / 0.6461 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000957/0.4994, allocations: 0.6391 MB / 0.6467 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.43e-05/0.4995, allocations: 59.47 kB / 0.6467 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-05/0.4995, allocations: 27.72 kB / 0.6468 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4997, allocations: 19.98 kB / 0.6468 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.4998, allocations: 19.97 kB / 0.6468 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.4998, allocations: 7.984 kB / 0.6468 GB, free: 10.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004111/0.5002, allocations: 342.9 kB / 0.6471 GB, free: 10.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5002, allocations: 0 / 0.6471 GB, free: 10.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003096/0.5033, allocations: 0.8578 MB / 0.648 GB, free: 9.777 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.004971/0.5083, allocations: 2.08 MB / 0.65 GB, free: 7.668 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008806/0.5092, allocations: 361 kB / 0.6504 GB, free: 7.316 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5092, allocations: 0 / 0.6504 GB, free: 7.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.5096, allocations: 208.5 kB / 0.6506 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.5106, allocations: 199.9 kB / 0.6508 GB, free: 6.926 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006925/0.5176, allocations: 4.3 MB / 0.655 GB, free: 2.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/0.5181, allocations: 0.8798 MB / 0.6558 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004196/0.5185, allocations: 177.3 kB / 0.656 GB, free: 1.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002543/0.5188, allocations: 187.4 kB / 0.6562 GB, free: 1.184 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5188, allocations: 0 / 0.6562 GB, free: 1.184 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08548/0.6042, allocations: 41.06 MB / 0.6963 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.15, allocations: 4 kB / 0.6963 GB, free: 8.285 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.588735518002068]