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.001183/0.001183, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 202.2 kB / 16.79 MB, free: 6.84 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.194/1.194, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.2702/0.2702, allocations: 43.5 MB / 313.5 MB, free: 8.539 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.001357/0.001357, allocations: 67.91 kB / 382.1 MB, free: 8.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08996/0.09133, allocations: 57.78 MB / 439.9 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.1803/0.2717, allocations: 30.93 MB / 470.9 MB, free: 33.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01481/0.2865, allocations: 18.58 MB / 489.4 MB, free: 20.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003735/0.287, allocations: 10.03 kB / 489.4 MB, free: 20.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006216/0.2876, allocations: 184 kB / 489.6 MB, free: 20.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.2881, allocations: 259.8 kB / 489.9 MB, free: 20.6 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.2998, allocations: 4.864 MB / 494.7 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009711/0.3008, allocations: 1.107 MB / 495.8 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002558/0.3011, allocations: 210.8 kB / 496.1 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01027/0.3113, allocations: 5.383 MB / 0.4897 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004099/0.3118, allocations: 252.4 kB / 0.4899 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.296e-05/0.3118, allocations: 20.41 kB / 0.4899 GB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01047/0.3223, allocations: 6.238 MB / 0.496 GB, free: 13.69 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3225, allocations: 75.31 kB / 0.4961 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.3229, allocations: 180.8 kB / 0.4963 GB, free: 13.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009023/0.3319, allocations: 3.833 MB / 0.5 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3319, allocations: 1.281 kB / 0.5 GB, free: 12.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3319, allocations: 0 / 0.5 GB, free: 12.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.332, allocations: 0 / 0.5 GB, free: 12.51 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.003016/0.335, allocations: 1.05 MB / 0.501 GB, free: 11.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.335, allocations: 9.375 kB / 0.5011 GB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.204e-05/0.3351, allocations: 63.88 kB / 0.5011 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001576/0.3367, allocations: 185.4 kB / 0.5013 GB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.3371, allocations: 334 kB / 0.5016 GB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.3371, allocations: 29.16 kB / 0.5016 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.786e-05/0.3371, allocations: 28.53 kB / 0.5017 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.3382, allocations: 490.4 kB / 0.5021 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3383, allocations: 0 / 0.5021 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.3383, allocations: 18.03 kB / 0.5022 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3383, allocations: 6.031 kB / 0.5022 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.3394, allocations: 412.2 kB / 0.5026 GB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/0.3418, allocations: 2.424 MB / 0.5049 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.3429, allocations: 326.2 kB / 0.5052 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.3432, allocations: 111.7 kB / 0.5053 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02781/0.371, allocations: 16.46 MB / 0.5214 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.3711, allocations: 36.44 kB / 0.5214 GB, free: 10.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=15): time 1.924e-06/0.3711, allocations: 0 / 0.5214 GB, free: 10.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=15): time 0.002015/0.3731, allocations: 0.523 MB / 0.522 GB, free: 10.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.613e-05/0.3732, allocations: 109.2 kB / 0.5221 GB, free: 10.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.3736, allocations: 315.5 kB / 0.5224 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.3736, allocations: 29.7 kB / 0.5224 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.3737, allocations: 210.2 kB / 0.5226 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.3738, allocations: 50.05 kB / 0.5226 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.833e-05/0.3739, allocations: 66.56 kB / 0.5227 GB, free: 9.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.374, allocations: 336.3 kB / 0.523 GB, free: 9.562 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002681/0.3743, allocations: 102.7 kB / 0.5231 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003311/0.3746, allocations: 212.8 kB / 0.5233 GB, free: 9.309 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005725/0.3752, allocations: 296.8 kB / 0.5236 GB, free: 9.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.3752, allocations: 3.312 kB / 0.5236 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007581/0.376, allocations: 342.5 kB / 0.5239 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.376, allocations: 13.38 kB / 0.5239 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.3761, allocations: 5.531 kB / 0.5239 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.3761, allocations: 6.781 kB / 0.524 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.3764, allocations: 71.89 kB / 0.524 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.3764, allocations: 7.125 kB / 0.524 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003256/0.3767, allocations: 52.56 kB / 0.5241 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.3767, allocations: 14.91 kB / 0.5241 GB, free: 8.824 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.0001586/0.3769, allocations: 160.8 kB / 0.5242 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.377, allocations: 29.66 kB / 0.5243 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.3783, allocations: 1.108 MB / 0.5254 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.3783, allocations: 15.97 kB / 0.5254 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3783, allocations: 0 / 0.5254 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.3783, allocations: 0 / 0.5254 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.379, allocations: 0.6678 MB / 0.526 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.379, allocations: 0 / 0.526 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/0.3793, allocations: 51.89 kB / 0.5261 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.3793, allocations: 4 kB / 0.5261 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.3793, allocations: 11.92 kB / 0.5261 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3793, allocations: 0 / 0.5261 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3793, allocations: 0 / 0.5261 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000819/0.3801, allocations: 0.6231 MB / 0.5267 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.3803, allocations: 128.4 kB / 0.5268 GB, free: 6.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.3803, allocations: 27.62 kB / 0.5268 GB, free: 6.047 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002349/0.3806, allocations: 23.97 kB / 0.5269 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.616e-05/0.3807, allocations: 15.97 kB / 0.5269 GB, free: 6.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.3807, allocations: 12 kB / 0.5269 GB, free: 5.996 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003332/0.381, allocations: 338.9 kB / 0.5272 GB, free: 5.664 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.014e-06/0.381, allocations: 7.938 kB / 0.5272 GB, free: 5.656 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003201/0.3842, allocations: 0.851 MB / 0.5281 GB, free: 4.805 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.006813/0.3911, allocations: 2.067 MB / 0.5301 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007955/0.3919, allocations: 356.2 kB / 0.5304 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3919, allocations: 0.9375 kB / 0.5304 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.3923, allocations: 264.5 kB / 0.5307 GB, free: 2.105 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001063/0.3933, allocations: 174.7 kB / 0.5308 GB, free: 1.941 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007721/0.4011, allocations: 4.532 MB / 0.5353 GB, free: 13.25 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.4014, allocations: 0.8758 MB / 0.5361 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000368/0.4018, allocations: 179.4 kB / 0.5363 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002087/0.402, allocations: 187.4 kB / 0.5365 GB, free: 11.99 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4021, allocations: 4 kB / 0.5365 GB, free: 11.98 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05913/0.4612, allocations: 39.76 MB / 0.5753 GB, free: 4.199 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/0.4614, allocations: 261.9 kB / 0.5755 GB, free: 3.879 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.544/4.006, allocations: 0 / 0.5755 GB, free: 3.879 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