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.001654/0.001654, allocations: 117.1 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.002144/0.002144, allocations: 195 kB / 18.01 MB, free: 5.094 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.639/1.639, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.227/0.227, allocations: 43.53 MB / 314.8 MB, free: 464 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.001445/0.001445, allocations: 67.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1408, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.03955/0.1804, allocations: 30.09 MB / 0.5179 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3564/0.5369, allocations: 17.59 MB / 0.5351 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004396/0.5374, allocations: 11.81 kB / 0.5351 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007346/0.5382, allocations: 219.8 kB / 0.5353 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006918/0.5389, allocations: 264.4 kB / 0.5356 GB, free: 3.484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01875/0.5577, allocations: 6.027 MB / 0.5415 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.5592, allocations: 0.8336 MB / 0.5423 GB, free: 3.398 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004768/0.5597, allocations: 239.1 kB / 0.5425 GB, free: 3.383 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/0.5716, allocations: 5.451 MB / 0.5478 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000639/0.5723, allocations: 241.5 kB / 0.548 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.853e-05/0.5724, allocations: 28.88 kB / 0.5481 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01507/0.5874, allocations: 6.312 MB / 0.5542 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.5877, allocations: 89.55 kB / 0.5543 GB, free: 1.891 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004819/0.5882, allocations: 194.4 kB / 0.5545 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01212/0.6003, allocations: 3.836 MB / 0.5583 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6004, allocations: 0 / 0.5583 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6004, allocations: 0 / 0.5583 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.6004, allocations: 0 / 0.5583 GB, free: 0.5195 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.003146/0.6036, allocations: 1.043 MB / 0.5593 GB, free: 15.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.6036, allocations: 8.844 kB / 0.5593 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/0.6052, allocations: 200.5 kB / 0.5595 GB, free: 15.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.6058, allocations: 350.7 kB / 0.5598 GB, free: 15.45 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/0.6059, allocations: 27.12 kB / 0.5598 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.067e-05/0.6059, allocations: 26.03 kB / 0.5599 GB, free: 15.44 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.6072, allocations: 494.9 kB / 0.5603 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.6072, allocations: 1.812 kB / 0.5603 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.953e-05/0.6072, allocations: 11.59 kB / 0.5603 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/0.6072, allocations: 7.719 kB / 0.5604 GB, free: 15.2 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001218/0.6085, allocations: 412.3 kB / 0.5607 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.6116, allocations: 2.417 MB / 0.5631 GB, free: 13.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.6127, allocations: 327 kB / 0.5634 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002806/0.613, allocations: 107.2 kB / 0.5635 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03314/0.6461, allocations: 16.52 MB / 0.5797 GB, free: 15.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.6462, allocations: 41.44 kB / 0.5797 GB, free: 15.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 2.765e-06/0.6462, allocations: 0 / 0.5797 GB, free: 15.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.00215/0.6484, allocations: 0.5195 MB / 0.5802 GB, free: 15.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.6485, allocations: 106.8 kB / 0.5803 GB, free: 15.32 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004315/0.6489, allocations: 320.5 kB / 0.5806 GB, free: 15.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.649, allocations: 25.7 kB / 0.5806 GB, free: 14.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.6491, allocations: 211.6 kB / 0.5808 GB, free: 14.77 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.318e-05/0.6492, allocations: 58.98 kB / 0.5809 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.6493, allocations: 64.41 kB / 0.581 GB, free: 14.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6495, allocations: 342.8 kB / 0.5813 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002832/0.6498, allocations: 89.05 kB / 0.5814 GB, free: 14.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.6501, allocations: 215.9 kB / 0.5816 GB, free: 13.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006323/0.6508, allocations: 295.7 kB / 0.5819 GB, free: 13.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.6508, allocations: 0 / 0.5819 GB, free: 13.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008136/0.6516, allocations: 341.5 kB / 0.5822 GB, free: 13.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.6517, allocations: 8 kB / 0.5822 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6517, allocations: 4 kB / 0.5822 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.6517, allocations: 7.938 kB / 0.5822 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002811/0.652, allocations: 74.14 kB / 0.5823 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.652, allocations: 8 kB / 0.5823 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.6523, allocations: 43.66 kB / 0.5823 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.6524, allocations: 20 kB / 0.5823 GB, free: 13.15 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.0001823/0.6526, allocations: 165.6 kB / 0.5825 GB, free: 12.99 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/0.6527, allocations: 27.62 kB / 0.5825 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001543/0.6542, allocations: 1.101 MB / 0.5836 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.6543, allocations: 21.03 kB / 0.5836 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.6543, allocations: 0 / 0.5836 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.6543, allocations: 0 / 0.5836 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.6553, allocations: 0.6617 MB / 0.5843 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.6553, allocations: 8 kB / 0.5843 GB, free: 11.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002494/0.6556, allocations: 47.95 kB / 0.5843 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.6556, allocations: 3.938 kB / 0.5843 GB, free: 11.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.6556, allocations: 3.984 kB / 0.5843 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/0.6556, allocations: 7.938 kB / 0.5843 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6557, allocations: 0 / 0.5843 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.6567, allocations: 0.6222 MB / 0.5849 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.6569, allocations: 132.3 kB / 0.5851 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.657, allocations: 23.69 kB / 0.5851 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002521/0.6573, allocations: 19.92 kB / 0.5851 GB, free: 10.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.6574, allocations: 27.97 kB / 0.5851 GB, free: 10.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/0.6574, allocations: 9.484 kB / 0.5851 GB, free: 10.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004718/0.6579, allocations: 338.9 kB / 0.5855 GB, free: 9.875 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6579, allocations: 0 / 0.5855 GB, free: 9.875 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004239/0.6622, allocations: 0.851 MB / 0.5863 GB, free: 9.023 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.005734/0.6679, allocations: 1.001 MB / 0.5873 GB, free: 8.113 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008207/0.6687, allocations: 350.6 kB / 0.5876 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6687, allocations: 0 / 0.5876 GB, free: 7.781 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.6692, allocations: 258.8 kB / 0.5879 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.6702, allocations: 194 kB / 0.588 GB, free: 7.348 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.6719, allocations: 1.038 MB / 0.5891 GB, free: 6.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004907/0.6724, allocations: 0.8798 MB / 0.5899 GB, free: 5.383 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.948e-05/0.6725, allocations: 35.44 kB / 0.5899 GB, free: 5.348 MB / 446.1 MB Notification: Performance of SimCode: time 4.61e-07/0.6725, allocations: 0 / 0.5899 GB, free: 5.348 MB / 446.1 MB Notification: Performance of Templates: time 0.03736/0.7099, allocations: 20.41 MB / 0.6099 GB, free: 0.9531 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