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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 113.1 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 215.2 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.446/1.446, allocations: 230.6 MB / 257.5 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2271/0.2271, allocations: 44.92 MB / 358.8 MB, free: 6.277 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 71.89 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3152, allocations: 65.46 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03989/0.3551, allocations: 30.66 MB / 0.587 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02568/0.3807, allocations: 17.78 MB / 0.6043 GB, free: 7.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.3814, allocations: 11.88 kB / 0.6043 GB, free: 7.156 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001057/0.3824, allocations: 226.5 kB / 0.6045 GB, free: 6.934 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.3835, allocations: 282.4 kB / 0.6048 GB, free: 6.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01848/0.402, allocations: 6.081 MB / 0.6108 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.4033, allocations: 0.8498 MB / 0.6116 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.4037, allocations: 208.9 kB / 0.6118 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01158/0.4153, allocations: 5.493 MB / 0.6172 GB, free: 9.941 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005456/0.4158, allocations: 258.9 kB / 0.6174 GB, free: 9.688 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.4159, allocations: 31.94 kB / 0.6174 GB, free: 9.656 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/0.4286, allocations: 6.353 MB / 0.6236 GB, free: 3.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000193/0.4288, allocations: 95.67 kB / 0.6237 GB, free: 3.203 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003011/0.4291, allocations: 191.1 kB / 0.6239 GB, free: 3.016 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008403/0.4375, allocations: 3.862 MB / 0.6277 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.4375, allocations: 0 / 0.6277 GB, free: 15.14 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4375, allocations: 0 / 0.6277 GB, free: 15.14 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.4375, allocations: 0 / 0.6277 GB, free: 15.14 MB / 478.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.002762/0.4403, allocations: 1.005 MB / 0.6287 GB, free: 14.11 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4404, allocations: 12.03 kB / 0.6287 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.828e-05/0.4405, allocations: 66.72 kB / 0.6287 GB, free: 14.02 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.4422, allocations: 200.5 kB / 0.6289 GB, free: 13.82 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007128/0.443, allocations: 288.8 kB / 0.6292 GB, free: 13.51 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.282e-05/0.443, allocations: 21.03 kB / 0.6292 GB, free: 13.49 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.737e-05/0.443, allocations: 28.12 kB / 0.6292 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001389/0.4444, allocations: 488.1 kB / 0.6297 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4445, allocations: 7.922 kB / 0.6297 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.69e-05/0.4445, allocations: 12 kB / 0.6297 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.4445, allocations: 12 kB / 0.6297 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001171/0.4457, allocations: 409.2 kB / 0.6301 GB, free: 12.52 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.4491, allocations: 2.241 MB / 0.6323 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.4503, allocations: 322.2 kB / 0.6326 GB, free: 9.781 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002863/0.4505, allocations: 104.7 kB / 0.6327 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0314/0.4819, allocations: 8.831 MB / 0.6414 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.482, allocations: 30.56 kB / 0.6414 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of pre-optimization done (n=15): time 2.665e-06/0.482, allocations: 4 kB / 0.6414 GB, free: 0.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=15): time 0.002115/0.4841, allocations: 0.5243 MB / 0.6419 GB, free: 268 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.571e-05/0.4842, allocations: 106.8 kB / 0.642 GB, free: 136 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.4847, allocations: 328.4 kB / 0.6423 GB, free: 15.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.4847, allocations: 29.7 kB / 0.6423 GB, free: 15.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.4849, allocations: 208.1 kB / 0.6425 GB, free: 15.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.4849, allocations: 55.53 kB / 0.6426 GB, free: 15.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/0.4851, allocations: 69.64 kB / 0.6427 GB, free: 15.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.4852, allocations: 338.8 kB / 0.643 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002923/0.4855, allocations: 99.86 kB / 0.6431 GB, free: 14.99 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004107/0.4859, allocations: 207.3 kB / 0.6433 GB, free: 14.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006609/0.4866, allocations: 296.2 kB / 0.6436 GB, free: 14.39 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4866, allocations: 0 / 0.6436 GB, free: 14.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009083/0.4875, allocations: 341.4 kB / 0.6439 GB, free: 14.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.4875, allocations: 8.031 kB / 0.6439 GB, free: 14.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/0.4875, allocations: 7.938 kB / 0.6439 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.4876, allocations: 4 kB / 0.6439 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.4879, allocations: 75.83 kB / 0.644 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.4879, allocations: 7.984 kB / 0.644 GB, free: 13.95 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000295/0.4882, allocations: 43.77 kB / 0.644 GB, free: 13.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.4882, allocations: 8 kB / 0.644 GB, free: 13.9 MB / 494.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.0002123/0.4884, allocations: 161.8 kB / 0.6442 GB, free: 13.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.432e-05/0.4885, allocations: 35.77 kB / 0.6442 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001639/0.4901, allocations: 1.151 MB / 0.6453 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.4902, allocations: 11.98 kB / 0.6454 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.4902, allocations: 4 kB / 0.6454 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.4902, allocations: 3.984 kB / 0.6454 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007926/0.491, allocations: 0.6514 MB / 0.646 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.491, allocations: 0 / 0.646 GB, free: 11.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002255/0.4912, allocations: 51.88 kB / 0.646 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.4912, allocations: 4 kB / 0.6461 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.4912, allocations: 11.94 kB / 0.6461 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.4912, allocations: 0 / 0.6461 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.4912, allocations: 7.984 kB / 0.6461 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.4924, allocations: 0.6391 MB / 0.6467 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.4925, allocations: 59.48 kB / 0.6468 GB, free: 11.04 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.259e-05/0.4926, allocations: 31.7 kB / 0.6468 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002247/0.4928, allocations: 11.98 kB / 0.6468 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/0.4929, allocations: 19.97 kB / 0.6468 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.61e-05/0.4929, allocations: 19.92 kB / 0.6468 GB, free: 10.96 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000458/0.4934, allocations: 338.9 kB / 0.6472 GB, free: 10.62 MB / 494.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4934, allocations: 0 / 0.6472 GB, free: 10.62 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002401/0.4958, allocations: 0.8539 MB / 0.648 GB, free: 9.77 MB / 494.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.005131/0.5009, allocations: 2.083 MB / 0.65 GB, free: 7.66 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008401/0.5018, allocations: 356.4 kB / 0.6504 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5018, allocations: 0 / 0.6504 GB, free: 7.312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003824/0.5021, allocations: 208.4 kB / 0.6506 GB, free: 7.109 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5032, allocations: 192.9 kB / 0.6507 GB, free: 6.922 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/0.5102, allocations: 4.307 MB / 0.655 GB, free: 2.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/0.5108, allocations: 0.872 MB / 0.6558 GB, free: 1.535 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004105/0.5112, allocations: 193.3 kB / 0.656 GB, free: 1.355 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/0.5114, allocations: 191.4 kB / 0.6562 GB, free: 1.168 MB / 494.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5114, allocations: 0 / 0.6562 GB, free: 1.168 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09301/0.6045, allocations: 41.04 MB / 0.6963 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/14.35, allocations: 12.05 kB / 0.6963 GB, free: 8.277 MB / 0.5294 GB " [Timeout remaining time 645] (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 --stepSize=0.000201597 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.724538144888356]