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.001629/0.001629, allocations: 105.5 kB / 16.4 MB, free: 6.445 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.001812/0.001812, allocations: 192.1 kB / 17.34 MB, free: 5.719 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.442/1.442, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2169/0.2169, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.001598/0.001598, allocations: 77.45 kB / 441.3 MB, free: 6.168 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1228, allocations: 57.79 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03794/0.1608, allocations: 30.08 MB / 0.5168 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2548/0.4157, allocations: 17.58 MB / 0.5339 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003898/0.4161, allocations: 10.53 kB / 0.534 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.4169, allocations: 217.3 kB / 0.5342 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006126/0.4175, allocations: 272.5 kB / 0.5344 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01955/0.4371, allocations: 6.026 MB / 0.5403 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.4387, allocations: 0.8301 MB / 0.5411 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.4392, allocations: 241.9 kB / 0.5413 GB, free: 2.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01177/0.4509, allocations: 5.441 MB / 0.5467 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000875/0.4519, allocations: 246.5 kB / 0.5469 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.452, allocations: 29.94 kB / 0.5469 GB, free: 1.438 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/0.4674, allocations: 6.318 MB / 0.5531 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.4677, allocations: 88.27 kB / 0.5532 GB, free: 1.379 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004212/0.4681, allocations: 191.6 kB / 0.5534 GB, free: 1.348 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009342/0.4775, allocations: 3.839 MB / 0.5571 GB, free: 104 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4775, allocations: 0 / 0.5571 GB, free: 104 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4775, allocations: 0 / 0.5571 GB, free: 104 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.4775, allocations: 1.375 kB / 0.5571 GB, free: 104 kB / 414.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.003226/0.4808, allocations: 1.043 MB / 0.5581 GB, free: 15.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.4808, allocations: 14.14 kB / 0.5581 GB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.483e-05/0.4809, allocations: 64.09 kB / 0.5582 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.4826, allocations: 190.5 kB / 0.5584 GB, free: 15.25 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00059/0.4832, allocations: 348.6 kB / 0.5587 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.4832, allocations: 21.62 kB / 0.5587 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.534e-05/0.4833, allocations: 26.06 kB / 0.5588 GB, free: 14.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.4845, allocations: 498.2 kB / 0.5592 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4845, allocations: 1.125 kB / 0.5592 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.4846, allocations: 13.22 kB / 0.5593 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.4846, allocations: 6.25 kB / 0.5593 GB, free: 14.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.4858, allocations: 418.8 kB / 0.5597 GB, free: 14.63 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.4892, allocations: 2.418 MB / 0.562 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.4903, allocations: 330.8 kB / 0.5623 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002849/0.4906, allocations: 111.5 kB / 0.5624 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03431/0.525, allocations: 16.52 MB / 0.5786 GB, free: 15.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.525, allocations: 33.06 kB / 0.5786 GB, free: 15.36 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.495e-06/0.525, allocations: 0 / 0.5786 GB, free: 15.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0022/0.5273, allocations: 0.5229 MB / 0.5791 GB, free: 15.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.042e-05/0.5274, allocations: 108.4 kB / 0.5792 GB, free: 15.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000491/0.5279, allocations: 323.3 kB / 0.5795 GB, free: 14.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.5279, allocations: 33.7 kB / 0.5796 GB, free: 14.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.5281, allocations: 203.6 kB / 0.5798 GB, free: 14.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.693e-05/0.5282, allocations: 54.03 kB / 0.5798 GB, free: 14.51 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001192/0.5283, allocations: 61.61 kB / 0.5799 GB, free: 14.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.5285, allocations: 338.8 kB / 0.5802 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002872/0.5288, allocations: 99.92 kB / 0.5803 GB, free: 14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004009/0.5292, allocations: 215.6 kB / 0.5805 GB, free: 13.74 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006337/0.5298, allocations: 290.8 kB / 0.5808 GB, free: 13.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.5299, allocations: 11.94 kB / 0.5808 GB, free: 13.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008281/0.5307, allocations: 337.5 kB / 0.5811 GB, free: 13.1 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5307, allocations: 8 kB / 0.5811 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.5307, allocations: 4 kB / 0.5811 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.5308, allocations: 7.938 kB / 0.5811 GB, free: 13.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.5311, allocations: 73.95 kB / 0.5812 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5311, allocations: 4 kB / 0.5812 GB, free: 13.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.5314, allocations: 39.86 kB / 0.5812 GB, free: 12.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.441e-05/0.5314, allocations: 27.92 kB / 0.5813 GB, free: 12.95 MB / 446.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.000202/0.5316, allocations: 158.9 kB / 0.5814 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.133e-05/0.5317, allocations: 31.62 kB / 0.5814 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001496/0.5332, allocations: 1.108 MB / 0.5825 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/0.5333, allocations: 15.97 kB / 0.5825 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.5333, allocations: 4 kB / 0.5825 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5333, allocations: 0 / 0.5825 GB, free: 11.63 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007136/0.534, allocations: 0.6596 MB / 0.5832 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.534, allocations: 0 / 0.5832 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002326/0.5343, allocations: 50.58 kB / 0.5832 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.5343, allocations: 0 / 0.5832 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.902e-05/0.5343, allocations: 11.94 kB / 0.5832 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.5343, allocations: 3.938 kB / 0.5832 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.5343, allocations: 0 / 0.5832 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000915/0.5352, allocations: 0.6253 MB / 0.5839 GB, free: 10.22 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.5354, allocations: 128.3 kB / 0.584 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.5355, allocations: 31.62 kB / 0.584 GB, free: 10.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.5357, allocations: 15.98 kB / 0.584 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.131e-05/0.5358, allocations: 19.97 kB / 0.584 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.5358, allocations: 8 kB / 0.5841 GB, free: 10 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003793/0.5362, allocations: 342.8 kB / 0.5844 GB, free: 9.672 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.695e-06/0.5362, allocations: 4 kB / 0.5844 GB, free: 9.668 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003617/0.5398, allocations: 0.851 MB / 0.5852 GB, free: 8.816 MB / 446.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.00836/0.5482, allocations: 2.061 MB / 0.5872 GB, free: 6.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009534/0.5492, allocations: 356.9 kB / 0.5876 GB, free: 6.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.5492, allocations: 0.9375 kB / 0.5876 GB, free: 6.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004208/0.5496, allocations: 259.6 kB / 0.5878 GB, free: 6.234 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/0.5508, allocations: 189.3 kB / 0.588 GB, free: 6.051 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009481/0.5603, allocations: 4.245 MB / 0.5921 GB, free: 1.684 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006506/0.561, allocations: 0.8798 MB / 0.593 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005343/0.5616, allocations: 190.1 kB / 0.5932 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.5619, allocations: 187.4 kB / 0.5934 GB, free: 424 kB / 446.1 MB Notification: Performance of SimCode: time 1.062e-06/0.5619, allocations: 0 / 0.5934 GB, free: 424 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08676/0.6487, allocations: 40.54 MB / 0.633 GB, free: 7.863 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/10.96, allocations: 3.938 kB / 0.633 GB, free: 7.859 MB / 494.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches