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.00116/0.00116, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001713/0.001714, allocations: 185.5 kB / 16.92 MB, free: 6.918 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.66/1.66, allocations: 205.4 MB / 223.1 MB, free: 5.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.348/0.348, allocations: 43.58 MB / 315 MB, free: 8.785 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.0005502/0.0005501, allocations: 12 kB / 384.7 MB, free: 7.566 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1288, allocations: 58.86 MB / 443.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2555/0.3844, allocations: 30.2 MB / 473.7 MB, free: 31.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.4027, allocations: 18.29 MB / 492 MB, free: 20.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.4032, allocations: 7.375 kB / 492 MB, free: 20.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000636/0.4038, allocations: 184.6 kB / 492.2 MB, free: 20.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005714/0.4044, allocations: 261.4 kB / 492.5 MB, free: 20.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.4192, allocations: 4.866 MB / 497.3 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001324/0.4206, allocations: 1.112 MB / 498.5 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003514/0.4209, allocations: 207.8 kB / 498.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01117/0.4321, allocations: 5.372 MB / 0.4922 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006276/0.4328, allocations: 249.8 kB / 0.4925 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.029e-05/0.4329, allocations: 13.72 kB / 0.4925 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01457/0.4474, allocations: 6.241 MB / 0.4986 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002045/0.4477, allocations: 70.45 kB / 0.4986 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.4481, allocations: 200.5 kB / 0.4988 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.4612, allocations: 3.814 MB / 0.5025 GB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4612, allocations: 1.375 kB / 0.5025 GB, free: 12.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.4612, allocations: 0 / 0.5025 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.4613, allocations: 0 / 0.5025 GB, free: 12.05 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.00371/0.465, allocations: 0.9745 MB / 0.5035 GB, free: 11.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.465, allocations: 10.31 kB / 0.5035 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.312e-05/0.4651, allocations: 64.12 kB / 0.5036 GB, free: 11.24 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.4667, allocations: 205.3 kB / 0.5038 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003962/0.4671, allocations: 337.9 kB / 0.5041 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.4672, allocations: 20.75 kB / 0.5041 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.4672, allocations: 25.19 kB / 0.5041 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.4684, allocations: 0.4992 MB / 0.5046 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.4684, allocations: 0 / 0.5046 GB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.5e-05/0.4685, allocations: 12.5 kB / 0.5046 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.4685, allocations: 10.95 kB / 0.5046 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.4697, allocations: 446.8 kB / 0.5051 GB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.4724, allocations: 2.438 MB / 0.5075 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.4736, allocations: 363.2 kB / 0.5078 GB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.4739, allocations: 121.1 kB / 0.5079 GB, free: 7.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03199/0.5059, allocations: 16.61 MB / 0.5241 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.506, allocations: 34.56 kB / 0.5242 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.544e-06/0.506, allocations: 1.812 kB / 0.5242 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002075/0.5081, allocations: 0.5769 MB / 0.5247 GB, free: 10.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.5082, allocations: 106.8 kB / 0.5248 GB, free: 9.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.5085, allocations: 316.4 kB / 0.5251 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.5086, allocations: 31.11 kB / 0.5252 GB, free: 9.707 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.5087, allocations: 205.4 kB / 0.5254 GB, free: 9.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.5088, allocations: 53.61 kB / 0.5254 GB, free: 9.473 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.5088, allocations: 33.27 kB / 0.5254 GB, free: 9.441 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.509, allocations: 337.7 kB / 0.5258 GB, free: 9.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.5093, allocations: 107.2 kB / 0.5259 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.5097, allocations: 226.6 kB / 0.5261 GB, free: 8.855 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006207/0.5103, allocations: 317.6 kB / 0.5264 GB, free: 8.621 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.5103, allocations: 1.75 kB / 0.5264 GB, free: 8.621 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007835/0.5111, allocations: 357.7 kB / 0.5267 GB, free: 8.402 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.5111, allocations: 8 kB / 0.5267 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.5111, allocations: 4 kB / 0.5267 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5112, allocations: 7.938 kB / 0.5267 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.5114, allocations: 76.27 kB / 0.5268 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.5115, allocations: 15.92 kB / 0.5268 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.5118, allocations: 55.52 kB / 0.5269 GB, free: 8.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.5118, allocations: 16 kB / 0.5269 GB, free: 8.223 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.0001723/0.512, allocations: 153.8 kB / 0.5271 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.5121, allocations: 31.62 kB / 0.5271 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.5136, allocations: 1.144 MB / 0.5282 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/0.5136, allocations: 11.98 kB / 0.5282 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.5136, allocations: 0 / 0.5282 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5136, allocations: 3.984 kB / 0.5282 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007458/0.5144, allocations: 0.6638 MB / 0.5289 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.5144, allocations: 4 kB / 0.5289 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.5146, allocations: 55.89 kB / 0.5289 GB, free: 6.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.5146, allocations: 7.984 kB / 0.5289 GB, free: 6.082 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.5147, allocations: 7.938 kB / 0.5289 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.5147, allocations: 0 / 0.5289 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.5147, allocations: 0 / 0.5289 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008937/0.5156, allocations: 0.6427 MB / 0.5296 GB, free: 5.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001833/0.5158, allocations: 199.9 kB / 0.5298 GB, free: 5.199 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.571e-05/0.5158, allocations: 15.88 kB / 0.5298 GB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.5161, allocations: 27.97 kB / 0.5298 GB, free: 5.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/0.5162, allocations: 19.97 kB / 0.5298 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.5162, allocations: 4 kB / 0.5298 GB, free: 5.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004032/0.5166, allocations: 350.8 kB / 0.5302 GB, free: 4.789 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5166, allocations: 0 / 0.5302 GB, free: 4.789 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004647/0.5213, allocations: 0.8393 MB / 0.531 GB, free: 3.949 MB / 398.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.006905/0.5282, allocations: 2.089 MB / 0.533 GB, free: 1.836 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008635/0.5291, allocations: 377.2 kB / 0.5334 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5291, allocations: 0 / 0.5334 GB, free: 1.465 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004107/0.5295, allocations: 272.5 kB / 0.5336 GB, free: 1.199 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5307, allocations: 181.4 kB / 0.5338 GB, free: 1.027 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/0.5381, allocations: 4.618 MB / 0.5383 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.5386, allocations: 0.868 MB / 0.5392 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004055/0.539, allocations: 193.3 kB / 0.5393 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.5392, allocations: 187.4 kB / 0.5395 GB, free: 10.97 MB / 414.1 MB Notification: Performance of SimCode: time 8.81e-07/0.5392, allocations: 0 / 0.5395 GB, free: 10.97 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06031/0.5996, allocations: 39.61 MB / 0.5782 GB, free: 3.363 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/0.5998, allocations: 258.2 kB / 0.5785 GB, free: 3.059 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.706/4.306, allocations: 0 / 0.5785 GB, free: 3.059 MB / 446.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches