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: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 114.5 kB / 17.08 MB, free: 6.008 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.001773/0.001773, allocations: 198.3 kB / 18.01 MB, free: 5.086 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.352/1.352, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.197/0.197, allocations: 43.53 MB / 314.8 MB, free: 468 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.00144/0.00144, allocations: 75.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.1, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02977/0.1298, allocations: 30.09 MB / 0.5179 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.242/0.3718, allocations: 17.59 MB / 0.5351 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.3722, allocations: 14.81 kB / 0.5351 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.3729, allocations: 209.2 kB / 0.5353 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006018/0.3736, allocations: 267.8 kB / 0.5356 GB, free: 4.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01635/0.3899, allocations: 6.023 MB / 0.5414 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.3912, allocations: 0.8326 MB / 0.5423 GB, free: 4.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004551/0.3917, allocations: 240.5 kB / 0.5425 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0129/0.4046, allocations: 5.453 MB / 0.5478 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.4052, allocations: 241 kB / 0.548 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.693e-05/0.4052, allocations: 31.69 kB / 0.5481 GB, free: 2.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01347/0.4187, allocations: 6.313 MB / 0.5542 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002229/0.419, allocations: 91.44 kB / 0.5543 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004332/0.4194, allocations: 194.8 kB / 0.5545 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009083/0.4285, allocations: 3.834 MB / 0.5583 GB, free: 1.113 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4286, allocations: 1.25 kB / 0.5583 GB, free: 1.113 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4286, allocations: 0 / 0.5583 GB, free: 1.113 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.476e-06/0.4286, allocations: 0 / 0.5583 GB, free: 1.113 MB / 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.002934/0.4315, allocations: 1.047 MB / 0.5593 GB, free: 388 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4316, allocations: 9.406 kB / 0.5593 GB, free: 388 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.4332, allocations: 194.7 kB / 0.5595 GB, free: 316 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005049/0.4337, allocations: 352.4 kB / 0.5598 GB, free: 36 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.416e-05/0.4338, allocations: 25.78 kB / 0.5598 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.4338, allocations: 27.16 kB / 0.5599 GB, free: 28 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.4352, allocations: 0.4992 MB / 0.5603 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.4352, allocations: 0 / 0.5603 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.485e-05/0.4353, allocations: 15.06 kB / 0.5604 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4353, allocations: 6.562 kB / 0.5604 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.4365, allocations: 405.5 kB / 0.5608 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003022/0.4395, allocations: 2.425 MB / 0.5631 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001135/0.4407, allocations: 328.8 kB / 0.5634 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002734/0.441, allocations: 107 kB / 0.5635 GB, free: 13.47 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03132/0.4723, allocations: 16.52 MB / 0.5797 GB, free: 72 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.364e-05/0.4724, allocations: 37.66 kB / 0.5797 GB, free: 28 kB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.4724, allocations: 0 / 0.5797 GB, free: 28 kB / 430.1 MB Notification: Performance of matching and sorting (n=15): time 0.002127/0.4745, allocations: 0.5213 MB / 0.5802 GB, free: 15.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.651e-05/0.4746, allocations: 106.8 kB / 0.5803 GB, free: 15.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003523/0.475, allocations: 324.5 kB / 0.5806 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.475, allocations: 25.7 kB / 0.5807 GB, free: 15.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.4751, allocations: 210.7 kB / 0.5809 GB, free: 14.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.986e-05/0.4752, allocations: 54.98 kB / 0.5809 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.4753, allocations: 69.59 kB / 0.581 GB, free: 14.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4755, allocations: 338.8 kB / 0.5813 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.4757, allocations: 87.92 kB / 0.5814 GB, free: 14.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.4761, allocations: 211.9 kB / 0.5816 GB, free: 14.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005972/0.4767, allocations: 303.4 kB / 0.5819 GB, free: 13.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4767, allocations: 0 / 0.5819 GB, free: 13.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007452/0.4774, allocations: 344.1 kB / 0.5822 GB, free: 13.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.4775, allocations: 8 kB / 0.5822 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4775, allocations: 0 / 0.5822 GB, free: 13.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4775, allocations: 14.56 kB / 0.5822 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002833/0.4778, allocations: 63.05 kB / 0.5823 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.4778, allocations: 10.62 kB / 0.5823 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.4781, allocations: 47.66 kB / 0.5823 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.4781, allocations: 16 kB / 0.5824 GB, free: 13.33 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.000209/0.4783, allocations: 161.3 kB / 0.5825 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.619e-05/0.4784, allocations: 32.19 kB / 0.5825 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.4798, allocations: 1.101 MB / 0.5836 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.4799, allocations: 19.91 kB / 0.5836 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4799, allocations: 0 / 0.5836 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4799, allocations: 1.969 kB / 0.5836 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006933/0.4806, allocations: 0.6597 MB / 0.5843 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4806, allocations: 4 kB / 0.5843 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.4808, allocations: 54.84 kB / 0.5843 GB, free: 11.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4808, allocations: 7.938 kB / 0.5843 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.4808, allocations: 0 / 0.5843 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.4808, allocations: 7.938 kB / 0.5844 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.4809, allocations: 0 / 0.5844 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.4817, allocations: 0.6301 MB / 0.585 GB, free: 10.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.4818, allocations: 128.4 kB / 0.5851 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.675e-05/0.4819, allocations: 23.69 kB / 0.5851 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.4821, allocations: 23.91 kB / 0.5851 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.696e-05/0.4822, allocations: 15.98 kB / 0.5851 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.4822, allocations: 11.98 kB / 0.5852 GB, free: 10.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003667/0.4826, allocations: 346.9 kB / 0.5855 GB, free: 10.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4826, allocations: 0 / 0.5855 GB, free: 10.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003074/0.4857, allocations: 0.8471 MB / 0.5863 GB, free: 9.195 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.003972/0.4897, allocations: 0.9987 MB / 0.5873 GB, free: 8.277 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008658/0.4906, allocations: 346.9 kB / 0.5876 GB, free: 7.949 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/0.4906, allocations: 4 kB / 0.5876 GB, free: 7.945 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.491, allocations: 255.6 kB / 0.5879 GB, free: 7.695 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.492, allocations: 193.6 kB / 0.5881 GB, free: 7.508 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.4935, allocations: 1.039 MB / 0.5891 GB, free: 6.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.4939, allocations: 0.8746 MB / 0.5899 GB, free: 5.551 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.494, allocations: 43.42 kB / 0.59 GB, free: 5.508 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.494, allocations: 0 / 0.59 GB, free: 5.508 MB / 446.1 MB Notification: Performance of Templates: time 0.03032/0.5243, allocations: 20.49 MB / 0.61 GB, free: 1.043 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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