Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.00128/0.00128, allocations: 114.6 kB / 17.12 MB, free: 5.93 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.001324/0.001324, allocations: 213 kB / 20.09 MB, free: 2.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.579/1.579, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4248/0.4248, allocations: 44.24 MB / 326.6 MB, free: 6.82 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002898/0.002898, allocations: 71.83 kB / 462.2 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3488, allocations: 61 MB / 0.5109 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03035/0.3791, allocations: 30.27 MB / 0.5405 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02292/0.402, allocations: 17.65 MB / 0.5577 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.4024, allocations: 11.88 kB / 0.5578 GB, free: 14.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007744/0.4032, allocations: 226.5 kB / 0.558 GB, free: 14.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006622/0.4039, allocations: 274.4 kB / 0.5582 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01835/0.4222, allocations: 6.034 MB / 0.5641 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.4236, allocations: 0.8382 MB / 0.5649 GB, free: 7.504 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003881/0.424, allocations: 204.5 kB / 0.5651 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01208/0.4361, allocations: 5.47 MB / 0.5705 GB, free: 1.746 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005963/0.4367, allocations: 251 kB / 0.5707 GB, free: 1.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.663e-05/0.4368, allocations: 35.94 kB / 0.5708 GB, free: 1.465 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.013/0.4498, allocations: 6.333 MB / 0.5769 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.45, allocations: 87.73 kB / 0.577 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003341/0.4503, allocations: 195.1 kB / 0.5772 GB, free: 10.85 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009316/0.4596, allocations: 3.843 MB / 0.581 GB, free: 6.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.4596, allocations: 0 / 0.581 GB, free: 6.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4596, allocations: 0 / 0.581 GB, free: 6.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.4597, allocations: 0 / 0.581 GB, free: 6.996 MB / 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.00262/0.4623, allocations: 1.069 MB / 0.582 GB, free: 5.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4623, allocations: 11.89 kB / 0.582 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.983e-05/0.4624, allocations: 70.64 kB / 0.5821 GB, free: 5.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.464, allocations: 200.5 kB / 0.5823 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006665/0.4647, allocations: 350.7 kB / 0.5826 GB, free: 5.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.4647, allocations: 20.94 kB / 0.5826 GB, free: 5.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.4648, allocations: 28.12 kB / 0.5827 GB, free: 5.164 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.4661, allocations: 486.9 kB / 0.5831 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4661, allocations: 0 / 0.5831 GB, free: 4.645 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.837e-05/0.4661, allocations: 19.94 kB / 0.5831 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.4662, allocations: 8 kB / 0.5831 GB, free: 4.617 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.4674, allocations: 413.2 kB / 0.5835 GB, free: 4.215 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00356/0.471, allocations: 2.415 MB / 0.5859 GB, free: 1.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/0.4722, allocations: 321.8 kB / 0.5862 GB, free: 1.27 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003112/0.4726, allocations: 108.8 kB / 0.5863 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03564/0.5082, allocations: 16.52 MB / 0.6024 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.5082, allocations: 34.56 kB / 0.6025 GB, free: 14.59 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.244e-06/0.5082, allocations: 0 / 0.6025 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.00218/0.5104, allocations: 0.5205 MB / 0.603 GB, free: 14.06 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.5105, allocations: 110.7 kB / 0.6031 GB, free: 13.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.5109, allocations: 320.5 kB / 0.6034 GB, free: 13.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5109, allocations: 29.7 kB / 0.6034 GB, free: 13.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.5111, allocations: 216 kB / 0.6036 GB, free: 13.36 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.214e-05/0.5111, allocations: 55.53 kB / 0.6037 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/0.5112, allocations: 65.64 kB / 0.6038 GB, free: 13.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.5114, allocations: 338.8 kB / 0.6041 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002992/0.5117, allocations: 95.92 kB / 0.6042 GB, free: 12.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.5121, allocations: 220.5 kB / 0.6044 GB, free: 12.53 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007031/0.5128, allocations: 289.4 kB / 0.6047 GB, free: 12.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5128, allocations: 0 / 0.6047 GB, free: 12.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000841/0.5136, allocations: 343.1 kB / 0.605 GB, free: 11.86 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.5137, allocations: 12.41 kB / 0.605 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.5137, allocations: 11.94 kB / 0.605 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.5137, allocations: 4 kB / 0.605 GB, free: 11.83 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.514, allocations: 67.89 kB / 0.6051 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.514, allocations: 11.94 kB / 0.6051 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.5143, allocations: 39.77 kB / 0.6051 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/0.5143, allocations: 19.98 kB / 0.6051 GB, free: 11.69 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.0001752/0.5145, allocations: 157.7 kB / 0.6053 GB, free: 11.53 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.5146, allocations: 27.81 kB / 0.6053 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001581/0.5162, allocations: 1.113 MB / 0.6064 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-05/0.5162, allocations: 15.97 kB / 0.6064 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5162, allocations: 0 / 0.6064 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.5162, allocations: 0 / 0.6064 GB, free: 10.36 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007306/0.5169, allocations: 0.668 MB / 0.6071 GB, free: 9.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.5169, allocations: 3.938 kB / 0.6071 GB, free: 9.637 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002282/0.5171, allocations: 47.95 kB / 0.6071 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5171, allocations: 0 / 0.6071 GB, free: 9.59 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.691e-05/0.5172, allocations: 7.938 kB / 0.6071 GB, free: 9.582 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.5172, allocations: 11.98 kB / 0.6071 GB, free: 9.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5172, allocations: 3.984 kB / 0.6071 GB, free: 9.566 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009563/0.5181, allocations: 0.6157 MB / 0.6077 GB, free: 8.938 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001135/0.5182, allocations: 132.6 kB / 0.6079 GB, free: 8.789 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.635e-05/0.5183, allocations: 39.67 kB / 0.6079 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.5185, allocations: 15.98 kB / 0.6079 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.373e-05/0.5186, allocations: 15.97 kB / 0.6079 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.5186, allocations: 15.98 kB / 0.608 GB, free: 8.703 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003985/0.519, allocations: 338.9 kB / 0.6083 GB, free: 8.371 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.519, allocations: 0 / 0.6083 GB, free: 8.371 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002504/0.5215, allocations: 0.8538 MB / 0.6091 GB, free: 7.516 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.005043/0.5266, allocations: 2.09 MB / 0.6112 GB, free: 5.402 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008792/0.5274, allocations: 340.5 kB / 0.6115 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5274, allocations: 0 / 0.6115 GB, free: 5.07 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.5278, allocations: 205.2 kB / 0.6117 GB, free: 4.871 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.5289, allocations: 184.3 kB / 0.6118 GB, free: 4.691 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007048/0.5359, allocations: 4.276 MB / 0.616 GB, free: 244 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005391/0.5365, allocations: 0.8798 MB / 0.6169 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003992/0.5369, allocations: 187 kB / 0.6171 GB, free: 15.15 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.5371, allocations: 187.4 kB / 0.6172 GB, free: 14.97 MB / 494.1 MB Notification: Performance of SimCode: time 8.71e-07/0.5371, allocations: 3.938 kB / 0.6172 GB, free: 14.96 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.327/0.8642, allocations: 40.41 MB / 0.6567 GB, free: 128.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.48, allocations: 5.75 kB / 0.6567 GB, free: 128.3 MB / 0.4981 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy.s from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! Error: Could not read variable specificEntropy1.s in file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv. Warning: Get data of variable specificEntropy1.s from file ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.872051487996941]