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.001075/0.001075, allocations: 107.8 kB / 16.41 MB, free: 6.484 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.001025/0.001025, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.287/1.287, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1921/0.1921, allocations: 43.52 MB / 314.1 MB, free: 460 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.002066/0.002066, allocations: 67.91 kB / 441.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1059, allocations: 57.79 MB / 499.1 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03548/0.1415, allocations: 30.08 MB / 0.5168 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2434/0.3849, allocations: 17.59 MB / 0.5339 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003004/0.3853, allocations: 10.66 kB / 0.534 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.3859, allocations: 214.1 kB / 0.5342 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005312/0.3865, allocations: 272.3 kB / 0.5344 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0143/0.4008, allocations: 6.037 MB / 0.5403 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.4019, allocations: 0.8255 MB / 0.5411 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004011/0.4023, allocations: 243.8 kB / 0.5414 GB, free: 2.887 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01228/0.4146, allocations: 5.441 MB / 0.5467 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.4152, allocations: 240.7 kB / 0.5469 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.076e-05/0.4153, allocations: 32.28 kB / 0.5469 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0123/0.4276, allocations: 6.319 MB / 0.5531 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.4279, allocations: 92.2 kB / 0.5532 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003628/0.4282, allocations: 191.9 kB / 0.5534 GB, free: 1.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008648/0.4369, allocations: 3.837 MB / 0.5571 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4369, allocations: 0 / 0.5571 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4369, allocations: 0 / 0.5571 GB, free: 132 kB / 414.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.4369, allocations: 1.188 kB / 0.5571 GB, free: 132 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.003258/0.4402, allocations: 1.043 MB / 0.5581 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.4403, allocations: 13.48 kB / 0.5581 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.622e-05/0.4404, allocations: 67.09 kB / 0.5582 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001524/0.4419, allocations: 187.9 kB / 0.5584 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000477/0.4424, allocations: 349.3 kB / 0.5587 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.808e-05/0.4424, allocations: 25.69 kB / 0.5587 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.655e-05/0.4425, allocations: 28.59 kB / 0.5588 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.4436, allocations: 494.9 kB / 0.5592 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4436, allocations: 4.562 kB / 0.5593 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.572e-05/0.4437, allocations: 16.75 kB / 0.5593 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.4437, allocations: 6.438 kB / 0.5593 GB, free: 14.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00114/0.4448, allocations: 408.5 kB / 0.5597 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.4477, allocations: 2.414 MB / 0.562 GB, free: 12.62 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/0.4487, allocations: 344 kB / 0.5623 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002535/0.449, allocations: 105.9 kB / 0.5624 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03001/0.479, allocations: 16.52 MB / 0.5786 GB, free: 15.42 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.4791, allocations: 34.75 kB / 0.5786 GB, free: 15.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 3.938e-06/0.4791, allocations: 4 kB / 0.5786 GB, free: 15.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.001923/0.481, allocations: 0.5229 MB / 0.5791 GB, free: 15.17 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.607e-05/0.4811, allocations: 109 kB / 0.5792 GB, free: 15.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003235/0.4814, allocations: 314.9 kB / 0.5795 GB, free: 14.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.4814, allocations: 33.7 kB / 0.5796 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.4816, allocations: 203.6 kB / 0.5798 GB, free: 14.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.4816, allocations: 53.88 kB / 0.5798 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.648e-05/0.4817, allocations: 65.59 kB / 0.5799 GB, free: 14.45 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.4818, allocations: 338.8 kB / 0.5802 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000269/0.4821, allocations: 95.92 kB / 0.5803 GB, free: 14.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003325/0.4825, allocations: 215.6 kB / 0.5805 GB, free: 13.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.483, allocations: 292.9 kB / 0.5808 GB, free: 13.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.483, allocations: 4 kB / 0.5808 GB, free: 13.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006989/0.4837, allocations: 338.7 kB / 0.5811 GB, free: 13.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.4838, allocations: 11.94 kB / 0.5811 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.4838, allocations: 4 kB / 0.5811 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.4838, allocations: 7.938 kB / 0.5811 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002635/0.4841, allocations: 74.23 kB / 0.5812 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.4841, allocations: 4 kB / 0.5812 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.4843, allocations: 51.97 kB / 0.5812 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.4844, allocations: 16 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.0001589/0.4845, allocations: 164.7 kB / 0.5814 GB, free: 12.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.4846, allocations: 31.62 kB / 0.5814 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.4859, allocations: 1.097 MB / 0.5825 GB, free: 11.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.486, allocations: 19.91 kB / 0.5825 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.486, allocations: 4 kB / 0.5825 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.486, allocations: 0 / 0.5825 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.4866, allocations: 0.6587 MB / 0.5832 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.4867, allocations: 0 / 0.5832 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.4869, allocations: 50.02 kB / 0.5832 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.4869, allocations: 0 / 0.5832 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.4869, allocations: 15.92 kB / 0.5832 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.4869, allocations: 0 / 0.5832 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.4869, allocations: 0 / 0.5832 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007973/0.4877, allocations: 0.6211 MB / 0.5839 GB, free: 10.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4878, allocations: 128.4 kB / 0.584 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.962e-05/0.4879, allocations: 27.62 kB / 0.584 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.4881, allocations: 15.98 kB / 0.584 GB, free: 10.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.4882, allocations: 19.97 kB / 0.584 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.4882, allocations: 11.98 kB / 0.5841 GB, free: 10.01 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003531/0.4886, allocations: 345 kB / 0.5844 GB, free: 9.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4886, allocations: 0 / 0.5844 GB, free: 9.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002885/0.4915, allocations: 0.8549 MB / 0.5852 GB, free: 8.824 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.006263/0.4977, allocations: 2.064 MB / 0.5872 GB, free: 6.832 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007827/0.4986, allocations: 354.7 kB / 0.5876 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.4986, allocations: 0.9375 kB / 0.5876 GB, free: 6.496 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.499, allocations: 266 kB / 0.5878 GB, free: 6.242 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.5, allocations: 173.4 kB / 0.588 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007324/0.5074, allocations: 4.246 MB / 0.5921 GB, free: 1.707 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/0.5078, allocations: 0.8798 MB / 0.593 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003884/0.5082, allocations: 193 kB / 0.5932 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.5085, allocations: 187.4 kB / 0.5934 GB, free: 448 kB / 446.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5085, allocations: 3.938 kB / 0.5934 GB, free: 444 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0693/0.5778, allocations: 40.55 MB / 0.633 GB, free: 7.867 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.73, allocations: 3.938 kB / 0.633 GB, free: 7.863 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