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.001505/0.001505, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002448/0.002448, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2201/0.2201, allocations: 46.12 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 75.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3391, allocations: 62.44 MB / 0.5305 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02991/0.3691, allocations: 30.22 MB / 0.56 GB, free: 3.477 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01899/0.3881, allocations: 17.63 MB / 0.5772 GB, free: 1.789 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.3885, allocations: 11.94 kB / 0.5773 GB, free: 1.777 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006274/0.3891, allocations: 218.6 kB / 0.5775 GB, free: 1.562 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005505/0.3897, allocations: 274.3 kB / 0.5777 GB, free: 1.293 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01617/0.4059, allocations: 6.062 MB / 0.5836 GB, free: 11.23 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001193/0.4071, allocations: 0.8381 MB / 0.5845 GB, free: 10.39 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005077/0.4076, allocations: 248.6 kB / 0.5847 GB, free: 10.15 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01232/0.42, allocations: 5.458 MB / 0.59 GB, free: 4.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005042/0.4205, allocations: 247 kB / 0.5903 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.724e-05/0.4206, allocations: 32 kB / 0.5903 GB, free: 4.336 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01243/0.433, allocations: 6.326 MB / 0.5965 GB, free: 14 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000173/0.4332, allocations: 91.67 kB / 0.5966 GB, free: 13.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003002/0.4335, allocations: 195.1 kB / 0.5967 GB, free: 13.72 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008474/0.442, allocations: 3.866 MB / 0.6005 GB, free: 9.844 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.442, allocations: 4 kB / 0.6005 GB, free: 9.84 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.442, allocations: 0 / 0.6005 GB, free: 9.84 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.4421, allocations: 0 / 0.6005 GB, free: 9.84 MB / 462.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.002597/0.4447, allocations: 1.077 MB / 0.6016 GB, free: 8.711 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.4447, allocations: 11.97 kB / 0.6016 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.933e-05/0.4448, allocations: 62.72 kB / 0.6017 GB, free: 8.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/0.4465, allocations: 204.5 kB / 0.6018 GB, free: 8.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/0.4471, allocations: 342.8 kB / 0.6022 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.871e-05/0.4472, allocations: 28.94 kB / 0.6022 GB, free: 8.027 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.432e-05/0.4472, allocations: 32.06 kB / 0.6022 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.4485, allocations: 486.9 kB / 0.6027 GB, free: 7.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.4485, allocations: 3.984 kB / 0.6027 GB, free: 7.477 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.4486, allocations: 12 kB / 0.6027 GB, free: 7.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.4486, allocations: 8 kB / 0.6027 GB, free: 7.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001159/0.4497, allocations: 405.3 kB / 0.6031 GB, free: 7.062 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002907/0.4527, allocations: 2.431 MB / 0.6055 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.4538, allocations: 326.3 kB / 0.6058 GB, free: 4.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000264/0.4541, allocations: 104.8 kB / 0.6059 GB, free: 3.984 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03178/0.4858, allocations: 18.39 MB / 0.6238 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.4859, allocations: 34.56 kB / 0.6239 GB, free: 15.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 2.023e-06/0.4859, allocations: 0 / 0.6239 GB, free: 15.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.002014/0.4879, allocations: 0.5243 MB / 0.6244 GB, free: 14.65 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.488, allocations: 102.8 kB / 0.6245 GB, free: 14.53 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/0.4884, allocations: 328.4 kB / 0.6248 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.032e-05/0.4885, allocations: 33.7 kB / 0.6248 GB, free: 14.16 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001448/0.4886, allocations: 204 kB / 0.625 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.921e-05/0.4887, allocations: 55.58 kB / 0.6251 GB, free: 13.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.4888, allocations: 69.64 kB / 0.6251 GB, free: 13.82 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.4889, allocations: 338.8 kB / 0.6255 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002694/0.4892, allocations: 91.92 kB / 0.6256 GB, free: 13.39 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003372/0.4895, allocations: 211.3 kB / 0.6258 GB, free: 13.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/0.4901, allocations: 301.2 kB / 0.626 GB, free: 12.79 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.4901, allocations: 0 / 0.626 GB, free: 12.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007373/0.4909, allocations: 345 kB / 0.6264 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4909, allocations: 4 kB / 0.6264 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.4909, allocations: 8.406 kB / 0.6264 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.491, allocations: 8 kB / 0.6264 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.4912, allocations: 71.89 kB / 0.6265 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.4912, allocations: 15.91 kB / 0.6265 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000245/0.4915, allocations: 43.77 kB / 0.6265 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.4915, allocations: 8 kB / 0.6265 GB, free: 12.29 MB / 494.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.0001677/0.4917, allocations: 165.6 kB / 0.6267 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.4918, allocations: 39.7 kB / 0.6267 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001341/0.4931, allocations: 1.102 MB / 0.6278 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4932, allocations: 11.98 kB / 0.6278 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4932, allocations: 4 kB / 0.6278 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4932, allocations: 0 / 0.6278 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007201/0.4939, allocations: 0.668 MB / 0.6285 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.4939, allocations: 0 / 0.6285 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002176/0.4942, allocations: 51.88 kB / 0.6285 GB, free: 10.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4942, allocations: 4 kB / 0.6285 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.4942, allocations: 7.938 kB / 0.6285 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.4942, allocations: 0 / 0.6285 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4942, allocations: 0 / 0.6285 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009279/0.4951, allocations: 0.6274 MB / 0.6291 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.4953, allocations: 124.7 kB / 0.6293 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.551e-05/0.4954, allocations: 35.7 kB / 0.6293 GB, free: 9.352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.4956, allocations: 15.98 kB / 0.6293 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.4957, allocations: 19.97 kB / 0.6293 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.4957, allocations: 8 kB / 0.6293 GB, free: 9.309 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003911/0.4961, allocations: 342.9 kB / 0.6297 GB, free: 8.973 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4961, allocations: 0 / 0.6297 GB, free: 8.973 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002738/0.4989, allocations: 0.8577 MB / 0.6305 GB, free: 8.113 MB / 494.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.005635/0.5045, allocations: 2.091 MB / 0.6325 GB, free: 6.012 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007752/0.5053, allocations: 356.7 kB / 0.6329 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.5053, allocations: 0 / 0.6329 GB, free: 5.664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.5057, allocations: 256.5 kB / 0.6331 GB, free: 5.414 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009528/0.5067, allocations: 196.1 kB / 0.6333 GB, free: 5.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006656/0.5134, allocations: 4.295 MB / 0.6375 GB, free: 0.75 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.5138, allocations: 0.8798 MB / 0.6384 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003802/0.5142, allocations: 189 kB / 0.6385 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.5145, allocations: 199.3 kB / 0.6387 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of SimCode: time 8.51e-07/0.5145, allocations: 0 / 0.6387 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07119/0.5857, allocations: 40.47 MB / 0.6783 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.02/10.6, allocations: 12.31 kB / 0.6783 GB, free: 7.141 MB / 0.5294 GB (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