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.001162/0.001162, allocations: 109.5 kB / 17.78 MB, free: 5.289 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.001115/0.001115, allocations: 188.8 kB / 18.71 MB, free: 4.371 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.393/1.393, allocations: 222.9 MB / 242.4 MB, free: 15.1 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.2046/0.2046, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 59.91 kB / 470 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3478, allocations: 60.82 MB / 0.5184 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03172/0.3795, allocations: 30.08 MB / 0.5478 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02115/0.4007, allocations: 17.61 MB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004515/0.4012, allocations: 7.938 kB / 0.565 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007359/0.402, allocations: 214.6 kB / 0.5652 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007607/0.4028, allocations: 278.4 kB / 0.5655 GB, free: 11.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0185/0.4213, allocations: 6.034 MB / 0.5713 GB, free: 5.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.4226, allocations: 0.8303 MB / 0.5722 GB, free: 4.977 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005113/0.4231, allocations: 248.7 kB / 0.5724 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01218/0.4353, allocations: 5.454 MB / 0.5777 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004962/0.4359, allocations: 247 kB / 0.578 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.436, allocations: 28 kB / 0.578 GB, free: 14.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01334/0.4493, allocations: 6.31 MB / 0.5841 GB, free: 8.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.4496, allocations: 95.66 kB / 0.5842 GB, free: 8.516 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004158/0.45, allocations: 191.1 kB / 0.5844 GB, free: 8.328 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009832/0.4599, allocations: 3.84 MB / 0.5882 GB, free: 4.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.4599, allocations: 0 / 0.5882 GB, free: 4.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4599, allocations: 3.938 kB / 0.5882 GB, free: 4.477 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.624e-05/0.46, allocations: 0 / 0.5882 GB, free: 4.477 MB / 446.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.002442/0.4624, allocations: 1.041 MB / 0.5892 GB, free: 3.387 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.4625, allocations: 8.031 kB / 0.5892 GB, free: 3.379 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.149e-05/0.4625, allocations: 66.72 kB / 0.5893 GB, free: 3.305 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.4642, allocations: 196.3 kB / 0.5894 GB, free: 3.113 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006322/0.4648, allocations: 342.6 kB / 0.5898 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.4649, allocations: 24.94 kB / 0.5898 GB, free: 2.715 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.4649, allocations: 28.12 kB / 0.5898 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.4662, allocations: 490.9 kB / 0.5903 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.4662, allocations: 0 / 0.5903 GB, free: 2.168 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.797e-05/0.4663, allocations: 16 kB / 0.5903 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.4663, allocations: 11.94 kB / 0.5903 GB, free: 2.141 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.4675, allocations: 401.3 kB / 0.5907 GB, free: 1.75 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003081/0.4706, allocations: 2.423 MB / 0.5931 GB, free: 15.11 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.4718, allocations: 340.8 kB / 0.5934 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.4721, allocations: 108.8 kB / 0.5935 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03361/0.5057, allocations: 16.53 MB / 0.6096 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.628e-05/0.5058, allocations: 34.56 kB / 0.6097 GB, free: 12.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 3.937e-06/0.5058, allocations: 0 / 0.6097 GB, free: 12.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002149/0.5079, allocations: 0.5321 MB / 0.6102 GB, free: 11.55 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.508, allocations: 106.8 kB / 0.6103 GB, free: 11.42 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.5084, allocations: 324.5 kB / 0.6106 GB, free: 11.09 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.5084, allocations: 29.7 kB / 0.6106 GB, free: 11.05 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.5086, allocations: 211.5 kB / 0.6108 GB, free: 10.84 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.59e-05/0.5086, allocations: 47.36 kB / 0.6109 GB, free: 10.79 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-05/0.5087, allocations: 61.69 kB / 0.6109 GB, free: 10.73 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5089, allocations: 338.8 kB / 0.6113 GB, free: 10.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.5091, allocations: 91.92 kB / 0.6113 GB, free: 10.3 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.5095, allocations: 211.3 kB / 0.6115 GB, free: 10.04 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005944/0.5101, allocations: 300.4 kB / 0.6118 GB, free: 9.695 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5101, allocations: 0 / 0.6118 GB, free: 9.695 MB / 478.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007863/0.5109, allocations: 336.9 kB / 0.6122 GB, free: 9.359 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/0.5109, allocations: 4.469 kB / 0.6122 GB, free: 9.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5109, allocations: 11.94 kB / 0.6122 GB, free: 9.344 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.511, allocations: 4 kB / 0.6122 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.5113, allocations: 67.89 kB / 0.6122 GB, free: 9.273 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.5113, allocations: 7.938 kB / 0.6122 GB, free: 9.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002548/0.5115, allocations: 55.5 kB / 0.6123 GB, free: 9.211 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.5116, allocations: 12 kB / 0.6123 GB, free: 9.199 MB / 478.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.0001621/0.5117, allocations: 161.7 kB / 0.6125 GB, free: 9.031 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.045e-05/0.5118, allocations: 31.62 kB / 0.6125 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/0.5133, allocations: 1.097 MB / 0.6136 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.75e-05/0.5133, allocations: 19.97 kB / 0.6136 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5133, allocations: 0 / 0.6136 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.5133, allocations: 0 / 0.6136 GB, free: 7.879 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006643/0.514, allocations: 0.6715 MB / 0.6142 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.514, allocations: 0 / 0.6142 GB, free: 7.156 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002438/0.5143, allocations: 51.94 kB / 0.6143 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.5143, allocations: 0 / 0.6143 GB, free: 7.105 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.654e-05/0.5143, allocations: 7.938 kB / 0.6143 GB, free: 7.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.5143, allocations: 4 kB / 0.6143 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5143, allocations: 0 / 0.6143 GB, free: 7.094 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.5152, allocations: 0.6154 MB / 0.6149 GB, free: 6.457 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/0.5153, allocations: 128.4 kB / 0.615 GB, free: 6.312 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.226e-05/0.5154, allocations: 31.53 kB / 0.6151 GB, free: 6.281 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002178/0.5156, allocations: 27.97 kB / 0.6151 GB, free: 6.254 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.276e-05/0.5157, allocations: 23.92 kB / 0.6151 GB, free: 6.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.5157, allocations: 4 kB / 0.6151 GB, free: 6.227 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003616/0.5161, allocations: 342.9 kB / 0.6154 GB, free: 5.891 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5161, allocations: 0 / 0.6154 GB, free: 5.891 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002275/0.5184, allocations: 0.8433 MB / 0.6163 GB, free: 5.047 MB / 478.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.005016/0.5234, allocations: 2.078 MB / 0.6183 GB, free: 2.957 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007817/0.5242, allocations: 352.2 kB / 0.6186 GB, free: 2.613 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.5242, allocations: 4 kB / 0.6186 GB, free: 2.609 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.5246, allocations: 257.4 kB / 0.6189 GB, free: 2.359 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5257, allocations: 193.1 kB / 0.6191 GB, free: 2.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.5322, allocations: 4.235 MB / 0.6232 GB, free: 13.76 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004321/0.5327, allocations: 0.8834 MB / 0.6241 GB, free: 12.86 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003744/0.5331, allocations: 193.8 kB / 0.6242 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002185/0.5333, allocations: 195.4 kB / 0.6244 GB, free: 12.48 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5333, allocations: 0 / 0.6244 GB, free: 12.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07682/0.6102, allocations: 40.56 MB / 0.664 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.18/10.79, allocations: 19.83 kB / 0.6641 GB, free: 4.066 MB / 0.5137 GB (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