Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_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.001518/0.001518, allocations: 104.7 kB / 15.98 MB, free: 6.355 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.001405/0.001405, allocations: 191.7 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4436/0.4436, allocations: 43.49 MB / 313.6 MB, free: 8.293 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.89 kB / 382.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1723, allocations: 57.78 MB / 440.1 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.3331/0.5054, allocations: 30.16 MB / 470.3 MB, free: 33.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01724/0.5227, allocations: 17.66 MB / 487.9 MB, free: 21.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005905/0.5233, allocations: 10.12 kB / 487.9 MB, free: 21.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007797/0.5242, allocations: 188.7 kB / 488.1 MB, free: 21.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006869/0.5249, allocations: 248.6 kB / 488.4 MB, free: 21.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01817/0.5431, allocations: 5.341 MB / 493.7 MB, free: 18.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.5444, allocations: 0.8343 MB / 494.5 MB, free: 18.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004515/0.5449, allocations: 235.2 kB / 494.8 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01058/0.5555, allocations: 5.428 MB / 0.4885 GB, free: 15.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007012/0.5562, allocations: 249 kB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.372e-05/0.5563, allocations: 29.59 kB / 0.4887 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01558/0.5719, allocations: 6.239 MB / 0.4948 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002446/0.5722, allocations: 92.27 kB / 0.4949 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004312/0.5726, allocations: 188.7 kB / 0.4951 GB, free: 13.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01693/0.5896, allocations: 3.86 MB / 0.4989 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5896, allocations: 0 / 0.4989 GB, free: 12.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.5896, allocations: 1.375 kB / 0.4989 GB, free: 12.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.625e-05/0.5897, allocations: 0 / 0.4989 GB, free: 12.89 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.005664/0.5953, allocations: 1.04 MB / 0.4999 GB, free: 12.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.573e-05/0.5954, allocations: 12.8 kB / 0.4999 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.704e-05/0.5955, allocations: 68.42 kB / 0.5 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.5974, allocations: 189.9 kB / 0.5001 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.598, allocations: 332.9 kB / 0.5005 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.598, allocations: 21.47 kB / 0.5005 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/0.5981, allocations: 25.16 kB / 0.5005 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/0.5994, allocations: 496.3 kB / 0.501 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.5994, allocations: 1.406 kB / 0.501 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.998e-05/0.5995, allocations: 16.34 kB / 0.501 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.393e-05/0.5995, allocations: 7.094 kB / 0.501 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.6007, allocations: 412 kB / 0.5014 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002989/0.6037, allocations: 2.422 MB / 0.5038 GB, free: 8.988 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.6048, allocations: 334.7 kB / 0.5041 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002846/0.6051, allocations: 103.7 kB / 0.5042 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03277/0.6379, allocations: 16.47 MB / 0.5203 GB, free: 11.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.981e-05/0.638, allocations: 34.56 kB / 0.5203 GB, free: 11.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 2.846e-06/0.638, allocations: 2.531 kB / 0.5203 GB, free: 11.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002155/0.6402, allocations: 0.5291 MB / 0.5208 GB, free: 11.08 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.6402, allocations: 105.4 kB / 0.5209 GB, free: 10.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.6407, allocations: 322 kB / 0.5212 GB, free: 10.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.6407, allocations: 32.48 kB / 0.5213 GB, free: 10.7 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.6408, allocations: 206.2 kB / 0.5215 GB, free: 10.52 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.857e-05/0.6409, allocations: 49.14 kB / 0.5215 GB, free: 10.47 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.877e-05/0.641, allocations: 60.47 kB / 0.5216 GB, free: 10.43 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6412, allocations: 337.4 kB / 0.5219 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/0.6414, allocations: 97.05 kB / 0.522 GB, free: 10.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.6418, allocations: 214 kB / 0.5222 GB, free: 9.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006386/0.6425, allocations: 298.5 kB / 0.5225 GB, free: 9.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6425, allocations: 2.5 kB / 0.5225 GB, free: 9.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008142/0.6433, allocations: 336.6 kB / 0.5228 GB, free: 9.438 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.6433, allocations: 9.938 kB / 0.5228 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6433, allocations: 2.844 kB / 0.5228 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.797e-05/0.6434, allocations: 10.25 kB / 0.5228 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/0.6437, allocations: 70.67 kB / 0.5229 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.766e-05/0.6437, allocations: 13.61 kB / 0.5229 GB, free: 9.402 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.644, allocations: 45.23 kB / 0.5229 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.6441, allocations: 15.94 kB / 0.5229 GB, free: 9.371 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.0002151/0.6443, allocations: 162 kB / 0.5231 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.938e-05/0.6444, allocations: 28.78 kB / 0.5231 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/0.646, allocations: 1.119 MB / 0.5242 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.6461, allocations: 14.61 kB / 0.5242 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.6461, allocations: 2.531 kB / 0.5242 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.6461, allocations: 3.984 kB / 0.5242 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007948/0.6469, allocations: 0.6639 MB / 0.5249 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.6469, allocations: 0 / 0.5249 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.6471, allocations: 43.95 kB / 0.5249 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.6472, allocations: 4 kB / 0.5249 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/0.6472, allocations: 7.938 kB / 0.5249 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.6472, allocations: 4 kB / 0.5249 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6472, allocations: 0 / 0.5249 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008834/0.6481, allocations: 0.623 MB / 0.5256 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.6482, allocations: 136.3 kB / 0.5257 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.6483, allocations: 23.69 kB / 0.5257 GB, free: 6.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.6485, allocations: 27.83 kB / 0.5257 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.6486, allocations: 19.97 kB / 0.5258 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.6486, allocations: 8 kB / 0.5258 GB, free: 6.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003679/0.649, allocations: 346.8 kB / 0.5261 GB, free: 6.555 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.649, allocations: 0 / 0.5261 GB, free: 6.555 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004861/0.6539, allocations: 0.8395 MB / 0.5269 GB, free: 5.715 MB / 398.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.009482/0.6634, allocations: 2.076 MB / 0.5289 GB, free: 3.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.6645, allocations: 368.1 kB / 0.5293 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.6645, allocations: 0 / 0.5293 GB, free: 3.254 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.6649, allocations: 261.4 kB / 0.5295 GB, free: 3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001142/0.666, allocations: 185 kB / 0.5297 GB, free: 2.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009649/0.6757, allocations: 4.518 MB / 0.5341 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005609/0.6763, allocations: 0.8837 MB / 0.535 GB, free: 13.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000514/0.6769, allocations: 188.5 kB / 0.5352 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002403/0.6771, allocations: 191.4 kB / 0.5354 GB, free: 12.87 MB / 414.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6771, allocations: 0 / 0.5354 GB, free: 12.87 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08589/0.763, allocations: 40.1 MB / 0.5745 GB, free: 4.766 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002467/0.7633, allocations: 259 kB / 0.5748 GB, free: 4.441 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.322/6.085, allocations: 3.938 kB / 0.5748 GB, free: 4.438 MB / 446.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEntropy/TestSpecificEntropy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches