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.001367/0.001367, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001596/0.001596, allocations: 217.2 kB / 23.75 MB, free: 4.668 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.473/1.473, 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.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.2294/0.2294, allocations: 46.93 MB / 360.9 MB, free: 4.277 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.002027/0.002027, allocations: 75.89 kB / 0.4962 GB, free: 7.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3415, allocations: 66.02 MB / 0.5606 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03628/0.3778, allocations: 30.65 MB / 0.5906 GB, free: 5.73 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02323/0.401, allocations: 17.77 MB / 0.6079 GB, free: 3.898 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004341/0.4015, allocations: 19.81 kB / 0.608 GB, free: 3.879 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007506/0.4022, allocations: 222.5 kB / 0.6082 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007035/0.4029, allocations: 278.4 kB / 0.6084 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.017/0.4199, allocations: 6.092 MB / 0.6144 GB, free: 13.3 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001329/0.4213, allocations: 0.8459 MB / 0.6152 GB, free: 12.45 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.4216, allocations: 208.9 kB / 0.6154 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01138/0.433, allocations: 5.497 MB / 0.6208 GB, free: 6.664 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004351/0.4334, allocations: 258.9 kB / 0.621 GB, free: 6.41 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.172e-05/0.4335, allocations: 28 kB / 0.621 GB, free: 6.383 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01203/0.4455, allocations: 6.345 MB / 0.6272 GB, free: 32 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.4457, allocations: 99.67 kB / 0.6273 GB, free: 15.93 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000277/0.446, allocations: 199.1 kB / 0.6275 GB, free: 15.74 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006847/0.4528, allocations: 3.854 MB / 0.6313 GB, free: 11.88 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.4528, allocations: 0 / 0.6313 GB, free: 11.88 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4528, allocations: 0 / 0.6313 GB, free: 11.88 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.4528, allocations: 0 / 0.6313 GB, free: 11.88 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.002197/0.455, allocations: 1.013 MB / 0.6323 GB, free: 10.83 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4551, allocations: 12.03 kB / 0.6323 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.4552, allocations: 62.73 kB / 0.6324 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.4567, allocations: 200.5 kB / 0.6325 GB, free: 10.55 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.4573, allocations: 292.8 kB / 0.6328 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.494e-05/0.4574, allocations: 25.03 kB / 0.6328 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.4574, allocations: 28.12 kB / 0.6329 GB, free: 10.18 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001266/0.4587, allocations: 488.1 kB / 0.6333 GB, free: 9.668 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4587, allocations: 3.938 kB / 0.6333 GB, free: 9.664 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.863e-05/0.4587, allocations: 12 kB / 0.6334 GB, free: 9.652 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.4587, allocations: 12 kB / 0.6334 GB, free: 9.641 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00122/0.46, allocations: 409.2 kB / 0.6338 GB, free: 9.242 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003243/0.4632, allocations: 2.234 MB / 0.6359 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/0.4644, allocations: 322.2 kB / 0.6362 GB, free: 6.516 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003017/0.4647, allocations: 108.7 kB / 0.6363 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03097/0.4956, allocations: 8.827 MB / 0.645 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.654e-05/0.4957, allocations: 34.56 kB / 0.645 GB, free: 13.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.394e-06/0.4957, allocations: 0 / 0.645 GB, free: 13.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002055/0.4977, allocations: 0.5243 MB / 0.6455 GB, free: 13 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.4978, allocations: 106.8 kB / 0.6456 GB, free: 12.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004026/0.4982, allocations: 328.4 kB / 0.6459 GB, free: 12.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.4982, allocations: 25.7 kB / 0.646 GB, free: 12.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001708/0.4984, allocations: 220 kB / 0.6462 GB, free: 12.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.4985, allocations: 55.53 kB / 0.6462 GB, free: 12.23 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4986, allocations: 65.64 kB / 0.6463 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.4987, allocations: 338.8 kB / 0.6466 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.499, allocations: 95.92 kB / 0.6467 GB, free: 11.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.4994, allocations: 211.3 kB / 0.6469 GB, free: 11.46 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006269/0.5, allocations: 292.3 kB / 0.6472 GB, free: 11.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5, allocations: 4 kB / 0.6472 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007595/0.5008, allocations: 337.4 kB / 0.6475 GB, free: 10.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.5008, allocations: 8 kB / 0.6475 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.5008, allocations: 7.938 kB / 0.6475 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.5008, allocations: 7.984 kB / 0.6475 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000284/0.5011, allocations: 75.83 kB / 0.6476 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.5011, allocations: 4 kB / 0.6476 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.5014, allocations: 43.75 kB / 0.6476 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.5014, allocations: 16 kB / 0.6477 GB, free: 10.63 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.0001889/0.5016, allocations: 161.8 kB / 0.6478 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.08e-05/0.5017, allocations: 35.77 kB / 0.6478 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.5033, allocations: 1.149 MB / 0.649 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-05/0.5033, allocations: 15.97 kB / 0.649 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.5033, allocations: 0 / 0.649 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5033, allocations: 0 / 0.649 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007341/0.504, allocations: 0.6514 MB / 0.6496 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.504, allocations: 0 / 0.6496 GB, free: 8.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002209/0.5042, allocations: 51.89 kB / 0.6497 GB, free: 8.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.5042, allocations: 8 kB / 0.6497 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.5043, allocations: 11.92 kB / 0.6497 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.5043, allocations: 0 / 0.6497 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.5043, allocations: 0 / 0.6497 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009782/0.5052, allocations: 0.643 MB / 0.6503 GB, free: 7.828 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.554e-05/0.5053, allocations: 55.48 kB / 0.6504 GB, free: 7.773 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.5054, allocations: 27.72 kB / 0.6504 GB, free: 7.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.5057, allocations: 15.98 kB / 0.6504 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.5057, allocations: 23.95 kB / 0.6504 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.5058, allocations: 8 kB / 0.6504 GB, free: 7.699 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003965/0.5062, allocations: 346.8 kB / 0.6508 GB, free: 7.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5062, allocations: 0 / 0.6508 GB, free: 7.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002302/0.5085, allocations: 0.85 MB / 0.6516 GB, free: 6.508 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.004792/0.5132, allocations: 2.084 MB / 0.6536 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008379/0.5141, allocations: 352.4 kB / 0.654 GB, free: 4.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5141, allocations: 4 kB / 0.654 GB, free: 4.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.5145, allocations: 215.1 kB / 0.6542 GB, free: 3.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.5155, allocations: 198 kB / 0.6544 GB, free: 3.652 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006601/0.5221, allocations: 4.296 MB / 0.6586 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.5226, allocations: 0.8837 MB / 0.6594 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003844/0.523, allocations: 187.7 kB / 0.6596 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.5232, allocations: 195.3 kB / 0.6598 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of SimCode: time 6.62e-07/0.5232, allocations: 0 / 0.6598 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08532/0.6085, allocations: 41.04 MB / 0.6999 GB, free: 5.016 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.54/14.15, allocations: 10.56 kB / 0.6999 GB, free: 5.008 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: 17.552505177998682]