Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001625/0.001632, allocations: 187.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.167/2.167, allocations: 205.4 MB / 222.5 MB, free: 13.77 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001173, allocations: 94.88 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3081/0.3081, allocations: 43.56 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004613/0.0004616, allocations: 12 kB / 431.4 MB, free: 20.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1264, allocations: 58.85 MB / 490.2 MB, free: 9.332 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.04451/0.171, allocations: 25.41 MB / 0.5036 GB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02822/0.1993, allocations: 14.89 MB / 0.5181 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004368/0.1998, allocations: 11.94 kB / 0.5181 GB, free: 0.9141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000837/0.2006, allocations: 167.2 kB / 0.5183 GB, free: 0.75 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008304/0.2015, allocations: 227.2 kB / 0.5185 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3531/0.5546, allocations: 4.724 MB / 0.5231 GB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.556, allocations: 495.1 kB / 0.5236 GB, free: 12.12 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005438/0.5565, allocations: 193.2 kB / 0.5237 GB, free: 12.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02954/0.5861, allocations: 8.836 MB / 0.5324 GB, free: 11.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005151/0.5867, allocations: 167.3 kB / 0.5325 GB, free: 11.99 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.589e-05/0.5868, allocations: 13.5 kB / 0.5325 GB, free: 11.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01837/0.6051, allocations: 6.166 MB / 0.5386 GB, free: 11.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002024/0.6054, allocations: 68.42 kB / 0.5386 GB, free: 11.97 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.6056, allocations: 96.08 kB / 0.5387 GB, free: 11.94 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007002/0.6127, allocations: 2.568 MB / 0.5412 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.6127, allocations: 3.156 kB / 0.5412 GB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.6127, allocations: 0 / 0.5412 GB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.6128, allocations: 0 / 0.5412 GB, free: 11.09 MB / 362.7 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.003329/0.6161, allocations: 0.9817 MB / 0.5422 GB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.6162, allocations: 7.219 kB / 0.5422 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002226/0.6184, allocations: 202.8 kB / 0.5424 GB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.619, allocations: 320.5 kB / 0.5427 GB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.941e-05/0.6191, allocations: 25.72 kB / 0.5427 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.426e-05/0.6192, allocations: 30.88 kB / 0.5428 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.621, allocations: 0.4883 MB / 0.5432 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6211, allocations: 5.219 kB / 0.5432 GB, free: 9.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.976e-05/0.6211, allocations: 16.11 kB / 0.5433 GB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.6212, allocations: 7.062 kB / 0.5433 GB, free: 9.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001958/0.6231, allocations: 438.6 kB / 0.5437 GB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.6275, allocations: 2.441 MB / 0.5461 GB, free: 7.676 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.6295, allocations: 358.8 kB / 0.5464 GB, free: 7.574 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05595/0.6855, allocations: 16.62 MB / 0.5626 GB, free: 5.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/0.6856, allocations: 30.56 kB / 0.5627 GB, free: 5.371 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 3.347e-06/0.6856, allocations: 0 / 0.5627 GB, free: 5.371 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.003318/0.6889, allocations: 0.5767 MB / 0.5632 GB, free: 4.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.689, allocations: 109.7 kB / 0.5633 GB, free: 4.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.6896, allocations: 315.1 kB / 0.5636 GB, free: 4.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.451e-05/0.6896, allocations: 25.7 kB / 0.5637 GB, free: 4.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.6898, allocations: 257.2 kB / 0.5639 GB, free: 4.254 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/0.6899, allocations: 53.14 kB / 0.564 GB, free: 4.211 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.6899, allocations: 3.062 kB / 0.564 GB, free: 4.211 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.6901, allocations: 328 kB / 0.5643 GB, free: 3.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005233/0.6906, allocations: 100.5 kB / 0.5644 GB, free: 3.812 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006232/0.6913, allocations: 223.3 kB / 0.5646 GB, free: 3.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005707/0.6919, allocations: 129.4 kB / 0.5647 GB, free: 3.484 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.6919, allocations: 0 / 0.5647 GB, free: 3.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001385/0.6933, allocations: 337.2 kB / 0.565 GB, free: 3.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.6933, allocations: 7.906 kB / 0.565 GB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.6934, allocations: 8 kB / 0.565 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.97e-05/0.6934, allocations: 11.95 kB / 0.5651 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.6939, allocations: 74.08 kB / 0.5651 GB, free: 3.145 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/0.694, allocations: 8 kB / 0.5651 GB, free: 3.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000523/0.6945, allocations: 57.2 kB / 0.5652 GB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.553e-05/0.6946, allocations: 12.44 kB / 0.5652 GB, free: 3.078 MB / 378.7 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_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 initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000261/0.6948, allocations: 161.9 kB / 0.5654 GB, free: 2.938 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.277e-05/0.6949, allocations: 31.62 kB / 0.5654 GB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002398/0.6973, allocations: 1.148 MB / 0.5665 GB, free: 2.109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.569e-05/0.6974, allocations: 15.7 kB / 0.5665 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.6974, allocations: 0 / 0.5665 GB, free: 2.102 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.6975, allocations: 3.984 kB / 0.5665 GB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.6986, allocations: 0.6649 MB / 0.5672 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.6986, allocations: 7.984 kB / 0.5672 GB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.6991, allocations: 58.83 kB / 0.5672 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.6991, allocations: 0 / 0.5672 GB, free: 1.512 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.6991, allocations: 14.2 kB / 0.5673 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6992, allocations: 0 / 0.5673 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.6992, allocations: 0 / 0.5673 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001487/0.7007, allocations: 0.6334 MB / 0.5679 GB, free: 1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.701, allocations: 209.8 kB / 0.5681 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.476e-05/0.7011, allocations: 2.5 kB / 0.5681 GB, free: 0.8008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.7016, allocations: 29.45 kB / 0.5681 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.7017, allocations: 19.16 kB / 0.5681 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.7017, allocations: 8 kB / 0.5681 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005901/0.7023, allocations: 340.3 kB / 0.5685 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.7024, allocations: 4 kB / 0.5685 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003655/0.706, allocations: 0.8443 MB / 0.5693 GB, free: 15.68 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007013/0.7131, allocations: 0.9926 MB / 0.5702 GB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.7145, allocations: 368.6 kB / 0.5706 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7146, allocations: 0 / 0.5706 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006888/0.7153, allocations: 273.2 kB / 0.5709 GB, free: 14.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.7169, allocations: 172.2 kB / 0.571 GB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.7195, allocations: 1.295 MB / 0.5723 GB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005605/0.7201, allocations: 0.8916 MB / 0.5732 GB, free: 12.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.7203, allocations: 31.44 kB / 0.5732 GB, free: 12.1 MB / 394.7 MB Notification: Performance of SimCode: time 8.61e-07/0.7203, allocations: 0 / 0.5732 GB, free: 12.1 MB / 394.7 MB Notification: Performance of Templates: time 0.05664/0.777, allocations: 23.28 MB / 0.5959 GB, free: 5.02 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches