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.001595/0.001595, allocations: 110.9 kB / 17.33 MB, free: 6.012 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.001823/0.001823, allocations: 193.3 kB / 18.25 MB, free: 5.102 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.378/1.378, allocations: 222.9 MB / 241.9 MB, free: 13.74 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.2078/0.2078, allocations: 44.17 MB / 336.2 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.33 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1224, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03153/0.1539, allocations: 30.16 MB / 499 MB, free: 356 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2615/0.4155, allocations: 17.66 MB / 0.5045 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004174/0.416, allocations: 13.25 kB / 0.5046 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006882/0.4167, allocations: 185.4 kB / 0.5047 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.4174, allocations: 256.1 kB / 0.505 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01616/0.4336, allocations: 5.341 MB / 0.5102 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001323/0.4349, allocations: 0.8364 MB / 0.511 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.4353, allocations: 234.1 kB / 0.5112 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01096/0.4463, allocations: 5.435 MB / 0.5165 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005747/0.4469, allocations: 252.9 kB / 0.5168 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.76e-05/0.447, allocations: 30.44 kB / 0.5168 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/0.4604, allocations: 6.238 MB / 0.5229 GB, free: 9.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.4607, allocations: 90.52 kB / 0.523 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000427/0.4611, allocations: 189.9 kB / 0.5232 GB, free: 8.996 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008403/0.4695, allocations: 3.857 MB / 0.5269 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.4696, allocations: 0 / 0.5269 GB, free: 7.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.4696, allocations: 4 kB / 0.5269 GB, free: 7.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.4696, allocations: 0 / 0.5269 GB, free: 7.43 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.002084/0.4717, allocations: 1.046 MB / 0.528 GB, free: 6.695 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.4717, allocations: 8.062 kB / 0.528 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.89e-05/0.4718, allocations: 61.61 kB / 0.528 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001719/0.4736, allocations: 196.8 kB / 0.5282 GB, free: 6.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003439/0.4739, allocations: 328.8 kB / 0.5285 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.028e-05/0.474, allocations: 24.23 kB / 0.5285 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.651e-05/0.474, allocations: 23.56 kB / 0.5286 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.4751, allocations: 494.4 kB / 0.529 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4752, allocations: 0 / 0.529 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.528e-05/0.4752, allocations: 16.61 kB / 0.5291 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.4752, allocations: 5.125 kB / 0.5291 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.4763, allocations: 409.2 kB / 0.5295 GB, free: 5.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.4787, allocations: 2.435 MB / 0.5318 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/0.4798, allocations: 330.4 kB / 0.5321 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002629/0.4801, allocations: 112.6 kB / 0.5323 GB, free: 3.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02943/0.5095, allocations: 16.45 MB / 0.5483 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.5096, allocations: 49.67 kB / 0.5484 GB, free: 4.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.5096, allocations: 0 / 0.5484 GB, free: 4.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002006/0.5116, allocations: 0.524 MB / 0.5489 GB, free: 4.184 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.5117, allocations: 104.8 kB / 0.549 GB, free: 4.059 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.512, allocations: 325.5 kB / 0.5493 GB, free: 3.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.5121, allocations: 33.39 kB / 0.5493 GB, free: 3.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.5122, allocations: 199.4 kB / 0.5495 GB, free: 3.605 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.155e-05/0.5123, allocations: 53.98 kB / 0.5496 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.526e-05/0.5124, allocations: 65.69 kB / 0.5496 GB, free: 3.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.5125, allocations: 338.8 kB / 0.5499 GB, free: 3.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002697/0.5128, allocations: 91.94 kB / 0.55 GB, free: 3.055 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000339/0.5131, allocations: 205.1 kB / 0.5502 GB, free: 2.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005869/0.5137, allocations: 303.8 kB / 0.5505 GB, free: 2.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5137, allocations: 4 kB / 0.5505 GB, free: 2.465 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007413/0.5145, allocations: 335.2 kB / 0.5508 GB, free: 2.156 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.5145, allocations: 8 kB / 0.5509 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.5145, allocations: 4 kB / 0.5509 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.5145, allocations: 7.938 kB / 0.5509 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.5148, allocations: 74.56 kB / 0.5509 GB, free: 2.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.5148, allocations: 7.094 kB / 0.5509 GB, free: 2.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.5151, allocations: 53.78 kB / 0.551 GB, free: 2.012 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.5152, allocations: 15.98 kB / 0.551 GB, free: 1.996 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.0001624/0.5153, allocations: 155.9 kB / 0.5512 GB, free: 1.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.437e-05/0.5154, allocations: 30.06 kB / 0.5512 GB, free: 1.812 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001349/0.5167, allocations: 1.109 MB / 0.5523 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.5168, allocations: 15.97 kB / 0.5523 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5168, allocations: 3.938 kB / 0.5523 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.5168, allocations: 0 / 0.5523 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.5174, allocations: 0.6682 MB / 0.5529 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.5174, allocations: 2.906 kB / 0.5529 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.5177, allocations: 55.95 kB / 0.553 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.5177, allocations: 4 kB / 0.553 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.5177, allocations: 3.938 kB / 0.553 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5177, allocations: 0 / 0.553 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.5177, allocations: 4 kB / 0.553 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.5185, allocations: 0.6261 MB / 0.5536 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.84e-05/0.5186, allocations: 128.4 kB / 0.5537 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.293e-05/0.5187, allocations: 27.62 kB / 0.5538 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.5189, allocations: 23.89 kB / 0.5538 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.793e-05/0.519, allocations: 23.97 kB / 0.5538 GB, free: 15.04 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.519, allocations: 7.984 kB / 0.5538 GB, free: 15.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003382/0.5194, allocations: 338.9 kB / 0.5541 GB, free: 14.71 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5194, allocations: 3.844 kB / 0.5541 GB, free: 14.71 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002485/0.5219, allocations: 0.8472 MB / 0.555 GB, free: 13.86 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.004538/0.5264, allocations: 2.062 MB / 0.557 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008133/0.5272, allocations: 374.4 kB / 0.5573 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5273, allocations: 0 / 0.5573 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.5276, allocations: 251.2 kB / 0.5576 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.5286, allocations: 202.6 kB / 0.5578 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006166/0.5348, allocations: 4.532 MB / 0.5622 GB, free: 6.426 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.5353, allocations: 0.8719 MB / 0.5631 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003883/0.5357, allocations: 194.7 kB / 0.5632 GB, free: 5.352 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.5359, allocations: 187.4 kB / 0.5634 GB, free: 5.168 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5359, allocations: 4 kB / 0.5634 GB, free: 5.164 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06556/0.6015, allocations: 40.12 MB / 0.6026 GB, free: 13.31 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/0.6017, allocations: 266.5 kB / 0.6029 GB, free: 12.95 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.903/4.504, allocations: 0 / 0.6029 GB, free: 12.95 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