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.0008752/0.0008752, allocations: 173.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.191/1.191, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.000701/0.000701, allocations: 74.38 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2851/0.2851, allocations: 43.56 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 15.94 kB / 432 MB, free: 5.586 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09865/0.099, allocations: 58.84 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.1981/0.2971, allocations: 28.04 MB / 0.5067 GB, free: 30.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01361/0.3108, allocations: 16.36 MB / 0.5227 GB, free: 18.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.3111, allocations: 10.69 kB / 0.5227 GB, free: 18.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.3116, allocations: 174.6 kB / 0.5229 GB, free: 18.74 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0005095/0.3122, allocations: 257.5 kB / 0.5231 GB, free: 18.59 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01252/0.3247, allocations: 4.663 MB / 0.5277 GB, free: 16.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009245/0.3256, allocations: 0.9574 MB / 0.5286 GB, free: 16.05 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.3259, allocations: 199.6 kB / 0.5288 GB, free: 15.99 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01101/0.3369, allocations: 8.958 MB / 0.5375 GB, free: 14.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.3373, allocations: 235.6 kB / 0.5378 GB, free: 14.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.3373, allocations: 11.97 kB / 0.5378 GB, free: 14.74 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01195/0.3493, allocations: 6.051 MB / 0.5437 GB, free: 13.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.3495, allocations: 70.55 kB / 0.5437 GB, free: 13.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.3499, allocations: 193.2 kB / 0.5439 GB, free: 13.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004944/0.3549, allocations: 2.594 MB / 0.5465 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3549, allocations: 0 / 0.5465 GB, free: 12.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3549, allocations: 3.938 kB / 0.5465 GB, free: 12.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.3549, allocations: 1.188 kB / 0.5465 GB, free: 12.75 MB / 378.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.002852/0.3578, allocations: 0.9785 MB / 0.5474 GB, free: 12.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3578, allocations: 9.406 kB / 0.5474 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.3593, allocations: 197.2 kB / 0.5476 GB, free: 12.03 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003543/0.3596, allocations: 333.4 kB / 0.5479 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.3597, allocations: 21.03 kB / 0.548 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.785e-05/0.3597, allocations: 31.97 kB / 0.548 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.3608, allocations: 0.4952 MB / 0.5485 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.3609, allocations: 5.375 kB / 0.5485 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.3609, allocations: 12.12 kB / 0.5485 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.3609, allocations: 6.875 kB / 0.5485 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.362, allocations: 440.1 kB / 0.5489 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002531/0.3646, allocations: 2.439 MB / 0.5513 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.3657, allocations: 358.7 kB / 0.5516 GB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003002/0.366, allocations: 128.4 kB / 0.5518 GB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02915/0.3951, allocations: 16.62 MB / 0.568 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.449e-05/0.3952, allocations: 38.56 kB / 0.568 GB, free: 8.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.913e-06/0.3952, allocations: 0 / 0.568 GB, free: 8.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.00202/0.3973, allocations: 0.574 MB / 0.5686 GB, free: 8.398 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.3973, allocations: 106.8 kB / 0.5687 GB, free: 8.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003465/0.3977, allocations: 312.5 kB / 0.569 GB, free: 7.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.715e-05/0.3977, allocations: 33.7 kB / 0.569 GB, free: 7.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/0.3979, allocations: 203.6 kB / 0.5692 GB, free: 7.715 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.099e-05/0.3979, allocations: 51.28 kB / 0.5693 GB, free: 7.664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.3979, allocations: 11.94 kB / 0.5693 GB, free: 7.652 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001179/0.3981, allocations: 334.8 kB / 0.5696 GB, free: 7.316 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.3983, allocations: 107.9 kB / 0.5697 GB, free: 7.211 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.3987, allocations: 215.8 kB / 0.5699 GB, free: 6.945 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/0.3993, allocations: 317.4 kB / 0.5702 GB, free: 6.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3993, allocations: 0 / 0.5702 GB, free: 6.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007484/0.4001, allocations: 358.1 kB / 0.5706 GB, free: 6.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.4001, allocations: 8 kB / 0.5706 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.4001, allocations: 4 kB / 0.5706 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.4001, allocations: 7.938 kB / 0.5706 GB, free: 6.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002719/0.4004, allocations: 80.36 kB / 0.5706 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4004, allocations: 7.938 kB / 0.5707 GB, free: 6.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.4007, allocations: 55.56 kB / 0.5707 GB, free: 6.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.4008, allocations: 12 kB / 0.5707 GB, free: 6.059 MB / 394.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.0001645/0.4009, allocations: 161.7 kB / 0.5709 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.158e-05/0.401, allocations: 35.56 kB / 0.5709 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.4024, allocations: 1.141 MB / 0.572 GB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.4024, allocations: 23.91 kB / 0.572 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.4025, allocations: 7.875 kB / 0.5721 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.4025, allocations: 0 / 0.5721 GB, free: 4.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006847/0.4032, allocations: 0.6639 MB / 0.5727 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.4032, allocations: 0 / 0.5727 GB, free: 3.965 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002169/0.4034, allocations: 55.89 kB / 0.5728 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.4034, allocations: 7.984 kB / 0.5728 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.4034, allocations: 8 kB / 0.5728 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.4034, allocations: 3.938 kB / 0.5728 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4034, allocations: 0 / 0.5728 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.4043, allocations: 0.6311 MB / 0.5734 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.4045, allocations: 199.9 kB / 0.5736 GB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.4045, allocations: 4 kB / 0.5736 GB, free: 3.027 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.4048, allocations: 27.92 kB / 0.5736 GB, free: 3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.4049, allocations: 27.95 kB / 0.5736 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.4049, allocations: 4 kB / 0.5736 GB, free: 2.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003561/0.4052, allocations: 338.8 kB / 0.574 GB, free: 2.637 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4052, allocations: 0 / 0.574 GB, free: 2.637 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00405/0.4093, allocations: 0.8471 MB / 0.5748 GB, free: 1.789 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.005174/0.4145, allocations: 1.014 MB / 0.5758 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008085/0.4153, allocations: 373.2 kB / 0.5761 GB, free: 420 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4153, allocations: 0 / 0.5761 GB, free: 420 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.4157, allocations: 273.7 kB / 0.5764 GB, free: 148 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009729/0.4167, allocations: 166.4 kB / 0.5766 GB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.4182, allocations: 1.297 MB / 0.5778 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.4186, allocations: 0.88 MB / 0.5787 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.888e-05/0.4187, allocations: 35.44 kB / 0.5787 GB, free: 13.71 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4187, allocations: 0 / 0.5787 GB, free: 13.71 MB / 410.7 MB Notification: Performance of Templates: time 0.02889/0.4476, allocations: 20.36 MB / 0.5986 GB, free: 9.344 MB / 426.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/jenkins/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