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.001251/0.001251, allocations: 117.2 kB / 17.78 MB, free: 5.277 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.001236/0.001236, allocations: 184.2 kB / 18.72 MB, free: 4.352 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.427/1.427, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2227/0.2227, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 68.12 kB / 470 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3676, allocations: 60.82 MB / 0.5184 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03735/0.4049, allocations: 30.13 MB / 0.5478 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02503/0.43, allocations: 17.64 MB / 0.5651 GB, free: 12.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.4305, allocations: 7.938 kB / 0.5651 GB, free: 12.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008589/0.4313, allocations: 226.5 kB / 0.5653 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007812/0.4321, allocations: 270.4 kB / 0.5656 GB, free: 11.75 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01781/0.4499, allocations: 6.05 MB / 0.5715 GB, free: 5.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.4513, allocations: 0.8382 MB / 0.5723 GB, free: 4.863 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003836/0.4516, allocations: 208.7 kB / 0.5725 GB, free: 4.656 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0112/0.4628, allocations: 5.466 MB / 0.5778 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004782/0.4633, allocations: 247 kB / 0.5781 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.4634, allocations: 28 kB / 0.5781 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01258/0.476, allocations: 6.306 MB / 0.5842 GB, free: 8.527 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001958/0.4762, allocations: 95.61 kB / 0.5843 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003065/0.4765, allocations: 191.2 kB / 0.5845 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009883/0.4863, allocations: 3.85 MB / 0.5883 GB, free: 4.387 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.4864, allocations: 7.984 kB / 0.5883 GB, free: 4.379 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4864, allocations: 0 / 0.5883 GB, free: 4.379 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4864, allocations: 0 / 0.5883 GB, free: 4.379 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.003056/0.4894, allocations: 1.069 MB / 0.5893 GB, free: 3.258 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4895, allocations: 8.031 kB / 0.5893 GB, free: 3.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.034e-05/0.4896, allocations: 62.73 kB / 0.5894 GB, free: 3.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.4912, allocations: 200.5 kB / 0.5896 GB, free: 2.984 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006145/0.4918, allocations: 346.7 kB / 0.5899 GB, free: 2.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.4919, allocations: 24.94 kB / 0.5899 GB, free: 2.582 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.65e-05/0.4919, allocations: 32.12 kB / 0.59 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/0.4932, allocations: 490.8 kB / 0.5904 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4932, allocations: 0 / 0.5904 GB, free: 2.031 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.4932, allocations: 12 kB / 0.5904 GB, free: 2.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.4932, allocations: 12 kB / 0.5905 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00124/0.4945, allocations: 413.2 kB / 0.5909 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/0.4978, allocations: 2.419 MB / 0.5932 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.4991, allocations: 322.2 kB / 0.5935 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.4993, allocations: 104.8 kB / 0.5936 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03358/0.5329, allocations: 16.53 MB / 0.6098 GB, free: 12.01 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.533, allocations: 38.56 kB / 0.6098 GB, free: 11.96 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.304e-06/0.533, allocations: 0 / 0.6098 GB, free: 11.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002196/0.5352, allocations: 0.5271 MB / 0.6103 GB, free: 11.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.448e-05/0.5352, allocations: 106.8 kB / 0.6104 GB, free: 11.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.5356, allocations: 320.5 kB / 0.6107 GB, free: 10.97 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.5357, allocations: 29.7 kB / 0.6108 GB, free: 10.94 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.5358, allocations: 212 kB / 0.611 GB, free: 10.72 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/0.5359, allocations: 51.53 kB / 0.611 GB, free: 10.67 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.536, allocations: 65.66 kB / 0.6111 GB, free: 10.6 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001687/0.5362, allocations: 342.8 kB / 0.6114 GB, free: 10.26 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002788/0.5364, allocations: 87.94 kB / 0.6115 GB, free: 10.17 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.5368, allocations: 203.4 kB / 0.6117 GB, free: 9.918 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.5375, allocations: 305.4 kB / 0.612 GB, free: 9.57 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5375, allocations: 0 / 0.612 GB, free: 9.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008068/0.5383, allocations: 339.7 kB / 0.6123 GB, free: 9.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.5383, allocations: 7.984 kB / 0.6123 GB, free: 9.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.5383, allocations: 11.92 kB / 0.6123 GB, free: 9.215 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.5383, allocations: 8 kB / 0.6123 GB, free: 9.207 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.5386, allocations: 67.89 kB / 0.6124 GB, free: 9.141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.5386, allocations: 12.41 kB / 0.6124 GB, free: 9.129 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.5389, allocations: 51.66 kB / 0.6124 GB, free: 9.078 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.5389, allocations: 16 kB / 0.6125 GB, free: 9.062 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.0001787/0.5391, allocations: 153.7 kB / 0.6126 GB, free: 8.902 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.5391, allocations: 31.81 kB / 0.6126 GB, free: 8.871 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.5407, allocations: 1.113 MB / 0.6137 GB, free: 7.754 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/0.5407, allocations: 11.98 kB / 0.6137 GB, free: 7.742 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/0.5407, allocations: 3.984 kB / 0.6137 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.5407, allocations: 0 / 0.6137 GB, free: 7.738 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007263/0.5414, allocations: 0.6679 MB / 0.6144 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5414, allocations: 0 / 0.6144 GB, free: 7.02 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.5417, allocations: 47.95 kB / 0.6144 GB, free: 6.973 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.5417, allocations: 4 kB / 0.6144 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.5417, allocations: 7.938 kB / 0.6144 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5417, allocations: 0 / 0.6144 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5417, allocations: 0 / 0.6144 GB, free: 6.961 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.5427, allocations: 0.6274 MB / 0.6151 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5428, allocations: 128.6 kB / 0.6152 GB, free: 6.168 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.922e-05/0.5429, allocations: 35.66 kB / 0.6152 GB, free: 6.133 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/0.5431, allocations: 11.98 kB / 0.6152 GB, free: 6.121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.267e-05/0.5431, allocations: 19.97 kB / 0.6152 GB, free: 6.102 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.5432, allocations: 15.98 kB / 0.6153 GB, free: 6.086 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003897/0.5436, allocations: 346.8 kB / 0.6156 GB, free: 5.746 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5436, allocations: 0 / 0.6156 GB, free: 5.746 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00238/0.5459, allocations: 0.8461 MB / 0.6164 GB, free: 4.898 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.005549/0.5515, allocations: 2.091 MB / 0.6185 GB, free: 2.789 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001058/0.5525, allocations: 341.1 kB / 0.6188 GB, free: 2.457 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5525, allocations: 4 kB / 0.6188 GB, free: 2.453 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.5529, allocations: 204.5 kB / 0.619 GB, free: 2.254 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001118/0.554, allocations: 189.5 kB / 0.6192 GB, free: 2.078 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/0.5615, allocations: 4.28 MB / 0.6233 GB, free: 13.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005182/0.562, allocations: 0.8718 MB / 0.6242 GB, free: 12.72 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004116/0.5624, allocations: 189.3 kB / 0.6244 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.5626, allocations: 191.4 kB / 0.6246 GB, free: 12.36 MB / 494.1 MB Notification: Performance of SimCode: time 1.143e-06/0.5626, allocations: 0 / 0.6246 GB, free: 12.36 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08419/0.6468, allocations: 40.42 MB / 0.664 GB, free: 4.098 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.09, allocations: 15.84 kB / 0.664 GB, free: 4.082 MB / 0.5137 GB (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