Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001955/0.001955, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2256/0.2256, allocations: 46.1 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 76.84 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1252, allocations: 62.44 MB / 480.1 MB, free: 5.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03461/0.1598, allocations: 30.21 MB / 0.4984 GB, free: 6.875 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2837/0.4435, allocations: 17.62 MB / 0.5156 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004045/0.444, allocations: 9.062 kB / 0.5156 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008044/0.4449, allocations: 219.4 kB / 0.5158 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007766/0.4456, allocations: 273.9 kB / 0.5161 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02418/0.4698, allocations: 6.056 MB / 0.522 GB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.472, allocations: 0.8354 MB / 0.5228 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005831/0.4726, allocations: 242 kB / 0.523 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01453/0.4872, allocations: 5.455 MB / 0.5284 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006749/0.4879, allocations: 238.5 kB / 0.5286 GB, free: 8.434 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.884e-05/0.488, allocations: 34.12 kB / 0.5286 GB, free: 8.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01631/0.5043, allocations: 6.195 MB / 0.5347 GB, free: 6.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000258/0.5046, allocations: 91.19 kB / 0.5348 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.505, allocations: 193.9 kB / 0.5349 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01307/0.5181, allocations: 3.856 MB / 0.5387 GB, free: 3.703 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.5182, allocations: 4 kB / 0.5387 GB, free: 3.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5182, allocations: 0 / 0.5387 GB, free: 3.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.5182, allocations: 0 / 0.5387 GB, free: 3.699 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.002451/0.5206, allocations: 1.048 MB / 0.5397 GB, free: 2.902 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5207, allocations: 9.062 kB / 0.5397 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.824e-05/0.5208, allocations: 63.38 kB / 0.5398 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001704/0.5225, allocations: 202.9 kB / 0.54 GB, free: 2.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004817/0.523, allocations: 334.6 kB / 0.5403 GB, free: 2.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.345e-05/0.523, allocations: 24.75 kB / 0.5403 GB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/0.5231, allocations: 24.69 kB / 0.5404 GB, free: 2.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.5242, allocations: 489.3 kB / 0.5408 GB, free: 2.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.5242, allocations: 6.906 kB / 0.5408 GB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.5243, allocations: 14.97 kB / 0.5408 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.5243, allocations: 5.625 kB / 0.5409 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.5254, allocations: 412.8 kB / 0.5412 GB, free: 1.891 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002639/0.5281, allocations: 2.427 MB / 0.5436 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.5293, allocations: 330.2 kB / 0.5439 GB, free: 15.44 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.5296, allocations: 113.5 kB / 0.544 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03506/0.5646, allocations: 18.31 MB / 0.5619 GB, free: 11.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.5647, allocations: 38.56 kB / 0.562 GB, free: 11.83 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 2.285e-06/0.5647, allocations: 0 / 0.562 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.002041/0.5668, allocations: 0.5267 MB / 0.5625 GB, free: 11.3 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.896e-05/0.5669, allocations: 106.8 kB / 0.5626 GB, free: 11.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.5672, allocations: 320.5 kB / 0.5629 GB, free: 10.85 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.101e-05/0.5673, allocations: 29.7 kB / 0.5629 GB, free: 10.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.5674, allocations: 207.6 kB / 0.5631 GB, free: 10.61 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.5675, allocations: 57.95 kB / 0.5632 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.5676, allocations: 57.69 kB / 0.5632 GB, free: 10.49 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5677, allocations: 338.8 kB / 0.5635 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.568, allocations: 91.92 kB / 0.5636 GB, free: 10.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.5684, allocations: 221.8 kB / 0.5638 GB, free: 9.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000579/0.569, allocations: 301.4 kB / 0.5641 GB, free: 9.445 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/0.569, allocations: 4 kB / 0.5641 GB, free: 9.441 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007654/0.5698, allocations: 335.4 kB / 0.5644 GB, free: 9.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.5698, allocations: 8 kB / 0.5645 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.5698, allocations: 7.938 kB / 0.5645 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.5699, allocations: 11.92 kB / 0.5645 GB, free: 9.082 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.5701, allocations: 72.36 kB / 0.5645 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5702, allocations: 15.92 kB / 0.5646 GB, free: 8.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.5704, allocations: 43.58 kB / 0.5646 GB, free: 8.953 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.825e-05/0.5705, allocations: 16 kB / 0.5646 GB, free: 8.938 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.0001727/0.5706, allocations: 153.8 kB / 0.5648 GB, free: 8.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.756e-05/0.5707, allocations: 31.62 kB / 0.5648 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.5722, allocations: 1.117 MB / 0.5659 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.5722, allocations: 11.98 kB / 0.5659 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.5722, allocations: 4 kB / 0.5659 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.5722, allocations: 0 / 0.5659 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/0.5729, allocations: 0.6628 MB / 0.5665 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.573, allocations: 0 / 0.5665 GB, free: 6.898 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.5732, allocations: 55.88 kB / 0.5666 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.5732, allocations: 0 / 0.5666 GB, free: 6.844 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.5732, allocations: 11.94 kB / 0.5666 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5732, allocations: 0 / 0.5666 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5732, allocations: 0 / 0.5666 GB, free: 6.832 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000908/0.5742, allocations: 0.6184 MB / 0.5672 GB, free: 6.199 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.5743, allocations: 128.3 kB / 0.5673 GB, free: 6.055 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.445e-05/0.5744, allocations: 31.62 kB / 0.5674 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.5746, allocations: 19.97 kB / 0.5674 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.988e-05/0.5747, allocations: 27.91 kB / 0.5674 GB, free: 5.977 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.5747, allocations: 4 kB / 0.5674 GB, free: 5.973 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003779/0.5751, allocations: 342.9 kB / 0.5677 GB, free: 5.641 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5751, allocations: 3.938 kB / 0.5677 GB, free: 5.637 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003066/0.5782, allocations: 0.8473 MB / 0.5686 GB, free: 4.789 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.005341/0.5835, allocations: 2.075 MB / 0.5706 GB, free: 2.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009663/0.5845, allocations: 365 kB / 0.5709 GB, free: 2.414 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5845, allocations: 4 kB / 0.571 GB, free: 2.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/0.5849, allocations: 252.5 kB / 0.5712 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.586, allocations: 183.5 kB / 0.5714 GB, free: 1.992 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006819/0.5928, allocations: 4.351 MB / 0.5756 GB, free: 13.49 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.5933, allocations: 0.8759 MB / 0.5765 GB, free: 12.58 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00042/0.5937, allocations: 196.5 kB / 0.5767 GB, free: 12.4 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002181/0.594, allocations: 191.4 kB / 0.5768 GB, free: 12.21 MB / 430.1 MB Notification: Performance of SimCode: time 7.02e-07/0.594, allocations: 0 / 0.5768 GB, free: 12.21 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08556/0.6795, allocations: 40.43 MB / 0.6163 GB, free: 3.926 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.615/10.29, allocations: 6.625 kB / 0.6163 GB, free: 3.922 MB / 462.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches