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.001174/0.001174, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001184/0.001184, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.383/1.383, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2021/0.2021, allocations: 44.18 MB / 336.6 MB, free: 2.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001334, allocations: 60.92 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03539/0.1459, allocations: 30.06 MB / 499.4 MB, free: 96 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.2538/0.3998, allocations: 17.61 MB / 0.5049 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000388/0.4002, allocations: 11.5 kB / 0.5049 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006678/0.4009, allocations: 218.1 kB / 0.5051 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006246/0.4015, allocations: 268.3 kB / 0.5054 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01749/0.4191, allocations: 6.034 MB / 0.5113 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.4204, allocations: 0.8414 MB / 0.5121 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004269/0.4208, allocations: 243.3 kB / 0.5123 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/0.4335, allocations: 5.445 MB / 0.5176 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005829/0.4341, allocations: 242.2 kB / 0.5179 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.674e-05/0.4342, allocations: 30.5 kB / 0.5179 GB, free: 9.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01508/0.4493, allocations: 6.177 MB / 0.5239 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002256/0.4495, allocations: 95.62 kB / 0.524 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004722/0.45, allocations: 188.5 kB / 0.5242 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009927/0.4599, allocations: 3.835 MB / 0.528 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.46, allocations: 0 / 0.528 GB, free: 7.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.46, allocations: 2.781 kB / 0.528 GB, free: 7.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.46, allocations: 0 / 0.528 GB, free: 7.152 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.002347/0.4624, allocations: 1.052 MB / 0.529 GB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.4624, allocations: 9 kB / 0.529 GB, free: 6.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.136e-05/0.4625, allocations: 61.39 kB / 0.5291 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.464, allocations: 192.6 kB / 0.5292 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.4644, allocations: 332.9 kB / 0.5296 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.4644, allocations: 24.19 kB / 0.5296 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.4644, allocations: 23.78 kB / 0.5296 GB, free: 6.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.4656, allocations: 496.3 kB / 0.5301 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4656, allocations: 5.094 kB / 0.5301 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.4656, allocations: 12.31 kB / 0.5301 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.4656, allocations: 8.719 kB / 0.5301 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.4667, allocations: 410.9 kB / 0.5305 GB, free: 5.703 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002566/0.4693, allocations: 2.427 MB / 0.5329 GB, free: 3.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.4704, allocations: 336.9 kB / 0.5332 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002623/0.4707, allocations: 107 kB / 0.5333 GB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03195/0.5026, allocations: 16.45 MB / 0.5494 GB, free: 4.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.5027, allocations: 42.55 kB / 0.5494 GB, free: 3.988 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.715e-06/0.5027, allocations: 0 / 0.5494 GB, free: 3.988 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002105/0.5048, allocations: 0.527 MB / 0.5499 GB, free: 3.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.05e-05/0.5049, allocations: 110.8 kB / 0.55 GB, free: 3.328 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/0.5054, allocations: 316.5 kB / 0.5503 GB, free: 3.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/0.5054, allocations: 37.64 kB / 0.5504 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.5056, allocations: 202.3 kB / 0.5505 GB, free: 2.77 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.307e-05/0.5056, allocations: 55.25 kB / 0.5506 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/0.5057, allocations: 57.7 kB / 0.5507 GB, free: 2.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5059, allocations: 338.8 kB / 0.551 GB, free: 2.312 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.5062, allocations: 95.94 kB / 0.5511 GB, free: 2.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003635/0.5065, allocations: 210.4 kB / 0.5513 GB, free: 1.961 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006327/0.5072, allocations: 298.5 kB / 0.5516 GB, free: 1.633 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.5072, allocations: 0 / 0.5516 GB, free: 1.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007985/0.508, allocations: 330.8 kB / 0.5519 GB, free: 1.324 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.508, allocations: 12.09 kB / 0.5519 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.508, allocations: 4 kB / 0.5519 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.5081, allocations: 11.92 kB / 0.5519 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.5084, allocations: 73.95 kB / 0.552 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5084, allocations: 4 kB / 0.552 GB, free: 1.227 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.5087, allocations: 39.67 kB / 0.552 GB, free: 1.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.819e-05/0.5087, allocations: 18.91 kB / 0.552 GB, free: 1.172 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.0001817/0.5089, allocations: 164.7 kB / 0.5522 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.204e-05/0.509, allocations: 31.62 kB / 0.5522 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/0.5105, allocations: 1.108 MB / 0.5533 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.5105, allocations: 15.98 kB / 0.5533 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5105, allocations: 4 kB / 0.5533 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.5105, allocations: 3.984 kB / 0.5533 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007604/0.5113, allocations: 0.6664 MB / 0.554 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.5113, allocations: 3.938 kB / 0.554 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002171/0.5115, allocations: 43.95 kB / 0.554 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5116, allocations: 0 / 0.554 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.5116, allocations: 15.94 kB / 0.554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.5116, allocations: 0 / 0.554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.5116, allocations: 6.812 kB / 0.554 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008459/0.5125, allocations: 0.6192 MB / 0.5546 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.5126, allocations: 128.4 kB / 0.5548 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.089e-05/0.5126, allocations: 31.62 kB / 0.5548 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.5129, allocations: 11.98 kB / 0.5548 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.245e-05/0.513, allocations: 25.23 kB / 0.5548 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.513, allocations: 8 kB / 0.5548 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000398/0.5134, allocations: 342.8 kB / 0.5552 GB, free: 13.88 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5134, allocations: 0 / 0.5552 GB, free: 13.88 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002788/0.5162, allocations: 0.8471 MB / 0.556 GB, free: 13.04 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.006294/0.5225, allocations: 2.068 MB / 0.558 GB, free: 11.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009677/0.5235, allocations: 360.5 kB / 0.5584 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5235, allocations: 0 / 0.5584 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.5239, allocations: 260.4 kB / 0.5586 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001215/0.5251, allocations: 197.2 kB / 0.5588 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007831/0.533, allocations: 4.33 MB / 0.563 GB, free: 5.809 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.5335, allocations: 0.8758 MB / 0.5639 GB, free: 4.91 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004512/0.5339, allocations: 187.6 kB / 0.5641 GB, free: 4.734 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.5342, allocations: 187.4 kB / 0.5642 GB, free: 4.551 MB / 414.1 MB Notification: Performance of SimCode: time 9.42e-07/0.5342, allocations: 0 / 0.5642 GB, free: 4.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07284/0.607, allocations: 40.33 MB / 0.6036 GB, free: 12.44 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.353/9.96, allocations: 11.83 kB / 0.6036 GB, free: 12.43 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