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: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001051/0.001051, allocations: 175.9 kB / 16.72 MB, free: 5.082 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.28/1.28, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007861/0.0007862, allocations: 90.39 kB / 271.2 MB, free: 8.246 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.2967/0.2967, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 11.98 kB / 432.1 MB, free: 5.715 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1025, allocations: 58.85 MB / 490.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.2106/0.3131, allocations: 28.04 MB / 0.5068 GB, free: 30.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01367/0.3269, allocations: 16.36 MB / 0.5228 GB, free: 18.9 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003866/0.3273, allocations: 13.84 kB / 0.5228 GB, free: 18.89 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.3278, allocations: 175.8 kB / 0.523 GB, free: 18.8 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.0005132/0.3284, allocations: 258.1 kB / 0.5232 GB, free: 18.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01233/0.3407, allocations: 4.662 MB / 0.5278 GB, free: 16.5 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009173/0.3416, allocations: 0.9518 MB / 0.5287 GB, free: 16.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002649/0.3419, allocations: 204.3 kB / 0.5289 GB, free: 16.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0111/0.353, allocations: 8.962 MB / 0.5376 GB, free: 14.88 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00037/0.3534, allocations: 231.6 kB / 0.5379 GB, free: 14.79 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.3535, allocations: 11.69 kB / 0.5379 GB, free: 14.79 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0106/0.3641, allocations: 6.046 MB / 0.5438 GB, free: 13.43 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3643, allocations: 73.67 kB / 0.5438 GB, free: 13.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.3646, allocations: 197.8 kB / 0.544 GB, free: 13.28 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00587/0.3705, allocations: 2.589 MB / 0.5466 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.3705, allocations: 0 / 0.5466 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.3705, allocations: 0 / 0.5466 GB, free: 12.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.3706, allocations: 1.25 kB / 0.5466 GB, free: 12.8 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.003911/0.3745, allocations: 0.979 MB / 0.5475 GB, free: 12.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3745, allocations: 10.56 kB / 0.5475 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.044e-05/0.3746, allocations: 67.66 kB / 0.5476 GB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.3761, allocations: 205.2 kB / 0.5478 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000378/0.3765, allocations: 327.9 kB / 0.5481 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.397e-05/0.3766, allocations: 26.06 kB / 0.5481 GB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.09e-05/0.3766, allocations: 24.62 kB / 0.5481 GB, free: 11.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3778, allocations: 0.5016 MB / 0.5486 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3778, allocations: 1.406 kB / 0.5486 GB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.3779, allocations: 10.78 kB / 0.5486 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.3779, allocations: 8.125 kB / 0.5487 GB, free: 11.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/0.379, allocations: 440.1 kB / 0.5491 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.3817, allocations: 2.448 MB / 0.5515 GB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.3827, allocations: 347.3 kB / 0.5518 GB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002832/0.383, allocations: 123.3 kB / 0.5519 GB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02948/0.4125, allocations: 16.62 MB / 0.5681 GB, free: 9.043 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4126, allocations: 38.5 kB / 0.5682 GB, free: 8.996 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.4126, allocations: 0 / 0.5682 GB, free: 8.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.002027/0.4146, allocations: 0.5736 MB / 0.5687 GB, free: 8.418 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.39e-05/0.4147, allocations: 106.8 kB / 0.5688 GB, free: 8.289 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003331/0.415, allocations: 312.6 kB / 0.5691 GB, free: 7.977 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.568e-05/0.4151, allocations: 29.7 kB / 0.5692 GB, free: 7.941 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.4152, allocations: 207.6 kB / 0.5694 GB, free: 7.734 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.4153, allocations: 59.12 kB / 0.5694 GB, free: 7.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.361e-05/0.4153, allocations: 4 kB / 0.5694 GB, free: 7.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.4154, allocations: 342.8 kB / 0.5698 GB, free: 7.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.4157, allocations: 99.92 kB / 0.5699 GB, free: 7.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.416, allocations: 227.8 kB / 0.5701 GB, free: 6.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.4166, allocations: 311.9 kB / 0.5704 GB, free: 6.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4166, allocations: 4 kB / 0.5704 GB, free: 6.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007383/0.4174, allocations: 357.2 kB / 0.5707 GB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.4174, allocations: 8.031 kB / 0.5707 GB, free: 6.234 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4174, allocations: 4 kB / 0.5707 GB, free: 6.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.4174, allocations: 7.938 kB / 0.5707 GB, free: 6.223 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.4178, allocations: 79.83 kB / 0.5708 GB, free: 6.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.4178, allocations: 7.984 kB / 0.5708 GB, free: 6.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.4181, allocations: 59.58 kB / 0.5709 GB, free: 6.078 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.4181, allocations: 12 kB / 0.5709 GB, free: 6.066 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.0001583/0.4183, allocations: 161.6 kB / 0.571 GB, free: 5.898 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.4183, allocations: 35.62 kB / 0.5711 GB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.4197, allocations: 1.153 MB / 0.5722 GB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.4198, allocations: 11.98 kB / 0.5722 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4198, allocations: 0 / 0.5722 GB, free: 4.688 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.4198, allocations: 3.984 kB / 0.5722 GB, free: 4.684 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.4204, allocations: 0.66 MB / 0.5729 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4204, allocations: 0 / 0.5729 GB, free: 3.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000226/0.4206, allocations: 67.89 kB / 0.5729 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.4207, allocations: 0 / 0.5729 GB, free: 3.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.4207, allocations: 3.938 kB / 0.5729 GB, free: 3.906 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4207, allocations: 4 kB / 0.5729 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.4207, allocations: 0 / 0.5729 GB, free: 3.902 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007857/0.4215, allocations: 0.6349 MB / 0.5735 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.4216, allocations: 199.9 kB / 0.5737 GB, free: 3.035 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.235e-05/0.4217, allocations: 11.94 kB / 0.5738 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002338/0.4219, allocations: 27.97 kB / 0.5738 GB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.813e-05/0.422, allocations: 15.97 kB / 0.5738 GB, free: 2.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.422, allocations: 12 kB / 0.5738 GB, free: 2.969 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003269/0.4224, allocations: 342.8 kB / 0.5741 GB, free: 2.633 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4224, allocations: 0 / 0.5741 GB, free: 2.633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004155/0.4265, allocations: 0.8471 MB / 0.575 GB, free: 1.785 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.006803/0.4334, allocations: 2.076 MB / 0.577 GB, free: 15.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008185/0.4342, allocations: 380.4 kB / 0.5773 GB, free: 15.31 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.244e-06/0.4342, allocations: 7.984 kB / 0.5774 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003593/0.4346, allocations: 260.5 kB / 0.5776 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.4356, allocations: 177.2 kB / 0.5778 GB, free: 14.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005631/0.4413, allocations: 2.874 MB / 0.5806 GB, free: 11.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003833/0.4417, allocations: 0.8761 MB / 0.5814 GB, free: 11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.4419, allocations: 179.4 kB / 0.5816 GB, free: 10.83 MB / 410.7 MB Notification: Performance of SimCode: time 7.62e-07/0.4419, allocations: 0 / 0.5816 GB, free: 10.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.698/5.14, allocations: 21.22 MB / 0.6023 GB, free: 5.566 MB / 426.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > 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