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.0008434/0.0008434, allocations: 96.25 kB / 17.35 MB, free: 6.367 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.0009619/0.0009619, allocations: 177.8 kB / 18.26 MB, free: 5.523 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.319/1.319, allocations: 223.3 MB / 242.3 MB, free: 14.46 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.2027/0.2027, allocations: 44.24 MB / 337.7 MB, free: 2.508 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 8 kB / 410.4 MB, free: 27.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1119, allocations: 61.93 MB / 472.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02823/0.1402, allocations: 30.19 MB / 0.4908 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2486/0.3888, allocations: 18.29 MB / 0.5086 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003915/0.3892, allocations: 12.84 kB / 0.5087 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000649/0.3899, allocations: 185.6 kB / 0.5088 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006305/0.3905, allocations: 261.4 kB / 0.5091 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01363/0.4042, allocations: 4.875 MB / 0.5138 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001477/0.4056, allocations: 1.111 MB / 0.5149 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.406, allocations: 202 kB / 0.5151 GB, free: 11.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01039/0.4164, allocations: 5.376 MB / 0.5204 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006996/0.4172, allocations: 244.9 kB / 0.5206 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.4172, allocations: 13.5 kB / 0.5206 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01199/0.4292, allocations: 6.247 MB / 0.5267 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001579/0.4294, allocations: 84.48 kB / 0.5268 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003701/0.4298, allocations: 194 kB / 0.527 GB, free: 9.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008279/0.4381, allocations: 3.814 MB / 0.5307 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.4381, allocations: 0 / 0.5307 GB, free: 7.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4382, allocations: 0 / 0.5307 GB, free: 7.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.4382, allocations: 1.75 kB / 0.5307 GB, free: 7.543 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.002215/0.4404, allocations: 0.9756 MB / 0.5317 GB, free: 6.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.4404, allocations: 14.16 kB / 0.5317 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/0.4405, allocations: 67.53 kB / 0.5317 GB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.4421, allocations: 202.4 kB / 0.5319 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.4425, allocations: 332.4 kB / 0.5322 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.4425, allocations: 25.25 kB / 0.5323 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.947e-05/0.4426, allocations: 21.44 kB / 0.5323 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.4437, allocations: 0.5022 MB / 0.5328 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.4437, allocations: 2.906 kB / 0.5328 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.663e-05/0.4438, allocations: 12.34 kB / 0.5328 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.4438, allocations: 10.91 kB / 0.5328 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.4449, allocations: 440.6 kB / 0.5332 GB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.4473, allocations: 2.442 MB / 0.5356 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.4484, allocations: 359.5 kB / 0.536 GB, free: 3.973 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.4487, allocations: 123.8 kB / 0.5361 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03006/0.4787, allocations: 16.62 MB / 0.5523 GB, free: 4.906 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.4788, allocations: 34.55 kB / 0.5523 GB, free: 4.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.365e-06/0.4788, allocations: 0 / 0.5523 GB, free: 4.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002145/0.481, allocations: 0.5718 MB / 0.5529 GB, free: 4.375 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.4811, allocations: 111.1 kB / 0.553 GB, free: 4.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.4815, allocations: 317.4 kB / 0.5533 GB, free: 3.988 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.4815, allocations: 31.7 kB / 0.5533 GB, free: 3.953 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.4817, allocations: 203.1 kB / 0.5535 GB, free: 3.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.235e-05/0.4817, allocations: 56.92 kB / 0.5536 GB, free: 3.75 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.483e-05/0.4818, allocations: 30.77 kB / 0.5536 GB, free: 3.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4819, allocations: 341.8 kB / 0.5539 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.4822, allocations: 100.8 kB / 0.554 GB, free: 3.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003755/0.4826, allocations: 225.3 kB / 0.5542 GB, free: 3.078 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006035/0.4832, allocations: 320.9 kB / 0.5546 GB, free: 2.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4832, allocations: 0 / 0.5546 GB, free: 2.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007728/0.484, allocations: 358.8 kB / 0.5549 GB, free: 2.504 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.484, allocations: 4.469 kB / 0.5549 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.484, allocations: 11.94 kB / 0.5549 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4841, allocations: 11.94 kB / 0.5549 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002773/0.4843, allocations: 70.2 kB / 0.555 GB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532e-05/0.4844, allocations: 11.98 kB / 0.555 GB, free: 2.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003003/0.4847, allocations: 57.62 kB / 0.5551 GB, free: 2.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.102e-05/0.4847, allocations: 10.25 kB / 0.5551 GB, free: 2.34 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.0001627/0.4849, allocations: 153.5 kB / 0.5552 GB, free: 2.199 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.327e-05/0.485, allocations: 33.56 kB / 0.5552 GB, free: 2.168 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001421/0.4864, allocations: 1.145 MB / 0.5564 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.4864, allocations: 11.98 kB / 0.5564 GB, free: 1.305 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4864, allocations: 7.984 kB / 0.5564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.4864, allocations: 0 / 0.5564 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007105/0.4872, allocations: 0.6651 MB / 0.557 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4872, allocations: 5.859 kB / 0.557 GB, free: 0.582 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.4874, allocations: 55.95 kB / 0.5571 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.4874, allocations: 0 / 0.5571 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.167e-05/0.4875, allocations: 11.94 kB / 0.5571 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4875, allocations: 0 / 0.5571 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4875, allocations: 0 / 0.5571 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000919/0.4884, allocations: 0.6411 MB / 0.5577 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.4886, allocations: 203.9 kB / 0.5579 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.76e-05/0.4887, allocations: 11.92 kB / 0.5579 GB, free: 15.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.4889, allocations: 23.98 kB / 0.558 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/0.489, allocations: 19.97 kB / 0.558 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.489, allocations: 11.94 kB / 0.558 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.4894, allocations: 346.8 kB / 0.5583 GB, free: 15.24 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4895, allocations: 1.969 kB / 0.5583 GB, free: 15.24 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002459/0.4919, allocations: 0.8433 MB / 0.5591 GB, free: 14.4 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.005582/0.4975, allocations: 2.081 MB / 0.5612 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000812/0.4983, allocations: 388.2 kB / 0.5615 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4984, allocations: 0 / 0.5615 GB, free: 12.01 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.4988, allocations: 260.5 kB / 0.5618 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.4999, allocations: 173.7 kB / 0.562 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006802/0.5067, allocations: 4.618 MB / 0.5665 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003791/0.5071, allocations: 0.8797 MB / 0.5673 GB, free: 5.914 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003918/0.5075, allocations: 190.2 kB / 0.5675 GB, free: 5.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.5078, allocations: 187.4 kB / 0.5677 GB, free: 5.555 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5078, allocations: 0 / 0.5677 GB, free: 5.555 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.5679, allocations: 39.63 MB / 0.6064 GB, free: 14.18 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002454/0.5682, allocations: 272 kB / 0.6066 GB, free: 13.82 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.727/4.295, allocations: 4 kB / 0.6067 GB, free: 13.81 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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