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.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001135/0.001135, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001136/0.001136, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 222.9 MB / 242.3 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2283/0.2283, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001185, allocations: 60.16 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1078, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03053/0.1383, allocations: 30.06 MB / 499.4 MB, free: 100 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2679/0.4063, allocations: 17.6 MB / 0.5049 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005952/0.4069, allocations: 9.75 kB / 0.5049 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009154/0.4079, allocations: 217.5 kB / 0.5051 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009644/0.4089, allocations: 276.5 kB / 0.5054 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02356/0.4325, allocations: 6.031 MB / 0.5113 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001531/0.434, allocations: 0.8428 MB / 0.5121 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000543/0.4346, allocations: 228.1 kB / 0.5123 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0139/0.4485, allocations: 5.449 MB / 0.5176 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006974/0.4492, allocations: 240.5 kB / 0.5179 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001139/0.4493, allocations: 30.72 kB / 0.5179 GB, free: 9.203 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0144/0.4637, allocations: 6.177 MB / 0.5239 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001863/0.464, allocations: 87.05 kB / 0.524 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003856/0.4644, allocations: 199.9 kB / 0.5242 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008278/0.4727, allocations: 3.836 MB / 0.528 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.4727, allocations: 0 / 0.528 GB, free: 7.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.4727, allocations: 0 / 0.528 GB, free: 7.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.4727, allocations: 3.938 kB / 0.528 GB, free: 7.156 MB / 382.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.001857/0.4746, allocations: 1.043 MB / 0.529 GB, free: 6.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.4746, allocations: 14.34 kB / 0.529 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.395e-05/0.4747, allocations: 67.81 kB / 0.5291 GB, free: 6.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001492/0.4762, allocations: 188.5 kB / 0.5292 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.4766, allocations: 337 kB / 0.5296 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.938e-05/0.4766, allocations: 22.38 kB / 0.5296 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.4766, allocations: 28.22 kB / 0.5296 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.4777, allocations: 492.1 kB / 0.5301 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4778, allocations: 2.469 kB / 0.5301 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.4778, allocations: 15.5 kB / 0.5301 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4778, allocations: 7.562 kB / 0.5301 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001135/0.479, allocations: 405.4 kB / 0.5305 GB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002577/0.4815, allocations: 2.433 MB / 0.5329 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001113/0.4827, allocations: 331.5 kB / 0.5332 GB, free: 3.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.483, allocations: 107.3 kB / 0.5333 GB, free: 3.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03281/0.5158, allocations: 16.46 MB / 0.5494 GB, free: 4.051 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/0.5158, allocations: 36.81 kB / 0.5494 GB, free: 4.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.324e-06/0.5159, allocations: 0 / 0.5494 GB, free: 4.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002063/0.5179, allocations: 0.5283 MB / 0.5499 GB, free: 3.477 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.518, allocations: 110.7 kB / 0.55 GB, free: 3.344 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/0.5184, allocations: 320.5 kB / 0.5503 GB, free: 3.023 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.5184, allocations: 29.7 kB / 0.5503 GB, free: 2.988 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.5185, allocations: 214 kB / 0.5505 GB, free: 2.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.5186, allocations: 45.22 kB / 0.5506 GB, free: 2.734 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.5187, allocations: 61.69 kB / 0.5506 GB, free: 2.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5188, allocations: 338.8 kB / 0.551 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000286/0.5191, allocations: 95.92 kB / 0.5511 GB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003592/0.5195, allocations: 214.2 kB / 0.5513 GB, free: 1.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006047/0.5201, allocations: 294.1 kB / 0.5515 GB, free: 1.652 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.5201, allocations: 0 / 0.5515 GB, free: 1.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007896/0.5209, allocations: 341.2 kB / 0.5519 GB, free: 1.336 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.5209, allocations: 8.469 kB / 0.5519 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.521, allocations: 8 kB / 0.5519 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.521, allocations: 7.938 kB / 0.5519 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002926/0.5213, allocations: 66.95 kB / 0.552 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.257e-05/0.5213, allocations: 15.08 kB / 0.552 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002634/0.5216, allocations: 46.28 kB / 0.552 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.5216, allocations: 16 kB / 0.552 GB, free: 1.18 MB / 398.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.0001519/0.5218, allocations: 152.7 kB / 0.5522 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.812e-05/0.5218, allocations: 39.61 kB / 0.5522 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.5234, allocations: 1.104 MB / 0.5533 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/0.5234, allocations: 15.97 kB / 0.5533 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5234, allocations: 4 kB / 0.5533 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.5234, allocations: 0 / 0.5533 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006677/0.5241, allocations: 0.6684 MB / 0.554 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5241, allocations: 0 / 0.554 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002334/0.5243, allocations: 54.95 kB / 0.554 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5243, allocations: 0 / 0.554 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.5244, allocations: 7.922 kB / 0.554 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5244, allocations: 0 / 0.554 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5244, allocations: 4 kB / 0.554 GB, free: 15.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009137/0.5253, allocations: 0.6231 MB / 0.5546 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.5254, allocations: 124.3 kB / 0.5548 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.066e-05/0.5255, allocations: 31.62 kB / 0.5548 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.5258, allocations: 19.98 kB / 0.5548 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.551e-05/0.5259, allocations: 23.06 kB / 0.5548 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.5259, allocations: 11.98 kB / 0.5548 GB, free: 14.23 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00043/0.5263, allocations: 338.9 kB / 0.5552 GB, free: 13.9 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5263, allocations: 0 / 0.5552 GB, free: 13.9 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003056/0.5294, allocations: 0.851 MB / 0.556 GB, free: 13.05 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.005231/0.5346, allocations: 2.066 MB / 0.558 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009055/0.5356, allocations: 360.3 kB / 0.5584 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5356, allocations: 3.938 kB / 0.5584 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.536, allocations: 255.7 kB / 0.5586 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.5371, allocations: 189.7 kB / 0.5588 GB, free: 10.28 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006937/0.544, allocations: 4.336 MB / 0.563 GB, free: 5.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.5445, allocations: 0.8719 MB / 0.5639 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000454/0.545, allocations: 187 kB / 0.5641 GB, free: 4.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002547/0.5452, allocations: 191.4 kB / 0.5642 GB, free: 4.562 MB / 414.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5452, allocations: 0 / 0.5642 GB, free: 4.562 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07608/0.6213, allocations: 40.33 MB / 0.6036 GB, free: 12.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.512/10.13, allocations: 11.83 kB / 0.6036 GB, free: 12.43 MB / 462.1 MB (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.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) 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) Reference file matches