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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 102.8 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001277, allocations: 189.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.381/1.381, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2379/0.2379, allocations: 43.52 MB / 313.9 MB, free: 0.5352 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 69.28 kB / 382.8 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1034, allocations: 57.8 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.0345/0.138, allocations: 30.07 MB / 470.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02245/0.1605, allocations: 17.6 MB / 488.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006585/0.1612, allocations: 15.88 kB / 488.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.1624, allocations: 214.6 kB / 488.5 MB, free: 6.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1634, allocations: 266.4 kB / 488.8 MB, free: 6.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01828/0.1817, allocations: 6.025 MB / 494.8 MB, free: 448 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.183, allocations: 0.8381 MB / 495.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005014/0.1835, allocations: 228.8 kB / 495.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01324/0.1968, allocations: 5.439 MB / 0.4896 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004495/0.1972, allocations: 239 kB / 0.4898 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.977e-05/0.1974, allocations: 28 kB / 0.4898 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01124/0.2086, allocations: 6.17 MB / 0.4958 GB, free: 3.406 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.2088, allocations: 99.66 kB / 0.4959 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002833/0.2091, allocations: 195.1 kB / 0.4961 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008096/0.2172, allocations: 3.832 MB / 0.4999 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.2173, allocations: 0 / 0.4999 GB, free: 15.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.2173, allocations: 4 kB / 0.4999 GB, free: 15.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.2173, allocations: 3.938 kB / 0.4999 GB, free: 15.27 MB / 398.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.002369/0.2197, allocations: 1.037 MB / 0.5009 GB, free: 14.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.2197, allocations: 23.83 kB / 0.5009 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.238e-05/0.2198, allocations: 58.73 kB / 0.501 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.2214, allocations: 188.4 kB / 0.5011 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.2219, allocations: 330.6 kB / 0.5015 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.222, allocations: 28.88 kB / 0.5015 GB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.222, allocations: 28.12 kB / 0.5015 GB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.2232, allocations: 490.9 kB / 0.502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2232, allocations: 0 / 0.502 GB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.544e-05/0.2233, allocations: 12 kB / 0.502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.2233, allocations: 8 kB / 0.502 GB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001298/0.2246, allocations: 413.2 kB / 0.5024 GB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003596/0.2282, allocations: 2.43 MB / 0.5048 GB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.2294, allocations: 330.3 kB / 0.5051 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.2297, allocations: 104.8 kB / 0.5052 GB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0347/0.2644, allocations: 16.47 MB / 0.5213 GB, free: 7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.2645, allocations: 42.48 kB / 0.5213 GB, free: 6.949 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.404e-06/0.2645, allocations: 0 / 0.5213 GB, free: 6.949 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.00221/0.2667, allocations: 0.5238 MB / 0.5218 GB, free: 6.422 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.882e-05/0.2668, allocations: 106.8 kB / 0.5219 GB, free: 6.293 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.2673, allocations: 332.5 kB / 0.5222 GB, free: 5.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.595e-05/0.2674, allocations: 29.64 kB / 0.5223 GB, free: 5.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.2675, allocations: 207.6 kB / 0.5225 GB, free: 5.723 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.806e-05/0.2676, allocations: 43.27 kB / 0.5225 GB, free: 5.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.2677, allocations: 61.69 kB / 0.5226 GB, free: 5.613 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2679, allocations: 342.8 kB / 0.5229 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002949/0.2682, allocations: 95.88 kB / 0.523 GB, free: 5.176 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003602/0.2686, allocations: 208.6 kB / 0.5232 GB, free: 4.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006257/0.2692, allocations: 297.4 kB / 0.5235 GB, free: 4.578 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.2692, allocations: 0 / 0.5235 GB, free: 4.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000821/0.27, allocations: 340.6 kB / 0.5238 GB, free: 4.242 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.2701, allocations: 8.062 kB / 0.5238 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2701, allocations: 11.94 kB / 0.5238 GB, free: 4.223 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.2701, allocations: 8 kB / 0.5238 GB, free: 4.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.2704, allocations: 71.88 kB / 0.5239 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.2704, allocations: 7.938 kB / 0.5239 GB, free: 4.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000252/0.2707, allocations: 43.67 kB / 0.5239 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/0.2707, allocations: 19.98 kB / 0.524 GB, free: 4.074 MB / 414.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.0001679/0.2709, allocations: 161.6 kB / 0.5241 GB, free: 3.906 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.271, allocations: 31.62 kB / 0.5241 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.2724, allocations: 1.109 MB / 0.5252 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.2724, allocations: 11.98 kB / 0.5252 GB, free: 2.742 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2724, allocations: 4 kB / 0.5252 GB, free: 2.738 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2724, allocations: 3.984 kB / 0.5252 GB, free: 2.734 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/0.2731, allocations: 0.6677 MB / 0.5259 GB, free: 2.016 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.2732, allocations: 3.938 kB / 0.5259 GB, free: 2.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.2734, allocations: 55.83 kB / 0.526 GB, free: 1.957 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2734, allocations: 4 kB / 0.526 GB, free: 1.953 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.2735, allocations: 3.938 kB / 0.526 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.2735, allocations: 0 / 0.526 GB, free: 1.949 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2735, allocations: 4 kB / 0.526 GB, free: 1.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008933/0.2744, allocations: 0.6153 MB / 0.5266 GB, free: 1.312 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.733e-05/0.2745, allocations: 136.3 kB / 0.5267 GB, free: 1.16 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.807e-05/0.2746, allocations: 23.69 kB / 0.5267 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2748, allocations: 19.98 kB / 0.5267 GB, free: 1.117 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.2748, allocations: 19.97 kB / 0.5268 GB, free: 1.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.2749, allocations: 4 kB / 0.5268 GB, free: 1.094 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003485/0.2752, allocations: 342.9 kB / 0.5271 GB, free: 0.7578 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.2752, allocations: 3.938 kB / 0.5271 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.1838/0.459, allocations: 0.8413 MB / 0.5279 GB, free: 95 MB / 414.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.005196/0.4642, allocations: 2.058 MB / 0.5299 GB, free: 94.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001298/0.4656, allocations: 367 kB / 0.5303 GB, free: 94.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.4656, allocations: 0 / 0.5303 GB, free: 94.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005102/0.4661, allocations: 259.7 kB / 0.5305 GB, free: 94.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.4672, allocations: 195.2 kB / 0.5307 GB, free: 94.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007248/0.4744, allocations: 4.308 MB / 0.5349 GB, free: 92.51 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.4749, allocations: 0.8782 MB / 0.5358 GB, free: 91.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005477/0.4754, allocations: 190.2 kB / 0.536 GB, free: 91.81 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.4757, allocations: 191.1 kB / 0.5361 GB, free: 91.8 MB / 414.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4757, allocations: 0 / 0.5361 GB, free: 91.8 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07246/0.5482, allocations: 40.32 MB / 0.5755 GB, free: 59.78 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.546/10.09, allocations: 4 kB / 0.5755 GB, free: 59.78 MB / 414.1 MB (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.000404 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) 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) Reference file matches