Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001413/0.001413, allocations: 198.3 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 226.5 MB / 243.4 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008052/0.0008052, allocations: 96.8 kB / 295.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3272/0.3272, allocations: 44.81 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.0003094, allocations: 8 kB / 465.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3487, allocations: 62.95 MB / 0.5159 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02297/0.3717, allocations: 28.07 MB / 0.5433 GB, free: 17.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0147/0.3865, allocations: 14.45 MB / 0.5574 GB, free: 7.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004986/0.387, allocations: 13.56 kB / 0.5574 GB, free: 7.062 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006964/0.3877, allocations: 176.3 kB / 0.5576 GB, free: 6.965 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.3886, allocations: 259.1 kB / 0.5578 GB, free: 6.812 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0175/0.4061, allocations: 4.332 MB / 0.5621 GB, free: 4.777 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.4075, allocations: 0.9429 MB / 0.563 GB, free: 4.219 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003333/0.4078, allocations: 193.7 kB / 0.5632 GB, free: 4.102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01418/0.422, allocations: 8.992 MB / 0.572 GB, free: 15.98 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005251/0.4226, allocations: 227 kB / 0.5722 GB, free: 15.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.712e-05/0.4226, allocations: 12 kB / 0.5722 GB, free: 15.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01309/0.4357, allocations: 5.833 MB / 0.5779 GB, free: 9.906 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.4359, allocations: 67.72 kB / 0.5779 GB, free: 9.84 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.4362, allocations: 185 kB / 0.5781 GB, free: 9.652 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00453/0.4408, allocations: 2.464 MB / 0.5805 GB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4408, allocations: 0 / 0.5805 GB, free: 7.184 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4408, allocations: 0 / 0.5805 GB, free: 7.184 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.4408, allocations: 4 kB / 0.5805 GB, free: 7.18 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001994/0.4428, allocations: 0.9433 MB / 0.5814 GB, free: 6.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4429, allocations: 8.031 kB / 0.5815 GB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008989/0.4438, allocations: 132.5 kB / 0.5816 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.4442, allocations: 326.5 kB / 0.5819 GB, free: 5.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.4442, allocations: 20.94 kB / 0.5819 GB, free: 5.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.4443, allocations: 24.38 kB / 0.5819 GB, free: 5.648 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001057/0.4453, allocations: 478.9 kB / 0.5824 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.4454, allocations: 0 / 0.5824 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.4454, allocations: 12 kB / 0.5824 GB, free: 5.129 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.4454, allocations: 12 kB / 0.5824 GB, free: 5.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.4465, allocations: 393.2 kB / 0.5828 GB, free: 4.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002774/0.4493, allocations: 2.403 MB / 0.5851 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009941/0.4503, allocations: 310.2 kB / 0.5854 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/0.4506, allocations: 104.8 kB / 0.5855 GB, free: 1.695 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003808/0.451, allocations: 485 kB / 0.586 GB, free: 1.133 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.451, allocations: 38.56 kB / 0.586 GB, free: 1.086 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.451, allocations: 0 / 0.586 GB, free: 1.086 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.001639/0.4527, allocations: 493.1 kB / 0.5865 GB, free: 0.5977 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.738e-05/0.4527, allocations: 114.8 kB / 0.5866 GB, free: 472 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003257/0.4531, allocations: 316.5 kB / 0.5869 GB, free: 148 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.4531, allocations: 29.7 kB / 0.5869 GB, free: 112 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.4533, allocations: 211.6 kB / 0.5871 GB, free: 15.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.4533, allocations: 47.33 kB / 0.5872 GB, free: 15.85 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.277e-05/0.4533, allocations: 4 kB / 0.5872 GB, free: 15.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4534, allocations: 334.8 kB / 0.5875 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002735/0.4537, allocations: 99.94 kB / 0.5876 GB, free: 15.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003306/0.4541, allocations: 210.3 kB / 0.5878 GB, free: 15.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005921/0.4547, allocations: 309.4 kB / 0.5881 GB, free: 14.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4547, allocations: 0 / 0.5881 GB, free: 14.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007064/0.4554, allocations: 332.8 kB / 0.5884 GB, free: 14.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4554, allocations: 8.469 kB / 0.5884 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4554, allocations: 8 kB / 0.5884 GB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.4555, allocations: 7.984 kB / 0.5884 GB, free: 14.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002505/0.4557, allocations: 67.91 kB / 0.5885 GB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.4557, allocations: 15.86 kB / 0.5885 GB, free: 14.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.456, allocations: 51.67 kB / 0.5886 GB, free: 14.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.456, allocations: 8 kB / 0.5886 GB, free: 14.31 MB / 410.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 (27): * Single equations (assignments): 27 * 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.0001505/0.4562, allocations: 153.8 kB / 0.5887 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.208e-05/0.4562, allocations: 31.62 kB / 0.5888 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001161/0.4574, allocations: 0.7835 MB / 0.5895 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.4574, allocations: 0 / 0.5895 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.4574, allocations: 11.88 kB / 0.5895 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.982e-06/0.4574, allocations: 3.984 kB / 0.5895 GB, free: 13.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004862/0.4579, allocations: 0.5259 MB / 0.5901 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4579, allocations: 0 / 0.5901 GB, free: 12.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.4582, allocations: 55.89 kB / 0.5901 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.4582, allocations: 4 kB / 0.5901 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.4582, allocations: 7.922 kB / 0.5901 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4582, allocations: 0 / 0.5901 GB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4582, allocations: 7.938 kB / 0.5901 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006423/0.4589, allocations: 477.7 kB / 0.5906 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.459, allocations: 184.1 kB / 0.5908 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.4591, allocations: 4 kB / 0.5908 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002253/0.4593, allocations: 27.89 kB / 0.5908 GB, free: 11.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.4594, allocations: 27.89 kB / 0.5908 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.319e-05/0.4594, allocations: 4 kB / 0.5908 GB, free: 11.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003303/0.4597, allocations: 338.9 kB / 0.5911 GB, free: 11.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4597, allocations: 4 kB / 0.5911 GB, free: 11.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00258/0.4623, allocations: 0.8394 MB / 0.592 GB, free: 10.74 MB / 410.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: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003233/0.4656, allocations: 0.9968 MB / 0.5929 GB, free: 9.738 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006761/0.4662, allocations: 288.1 kB / 0.5932 GB, free: 9.457 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.4663, allocations: 0 / 0.5932 GB, free: 9.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002938/0.4666, allocations: 176.3 kB / 0.5934 GB, free: 9.285 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008793/0.4674, allocations: 174.4 kB / 0.5935 GB, free: 9.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.4687, allocations: 1.062 MB / 0.5946 GB, free: 8.016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.4691, allocations: 0.8503 MB / 0.5954 GB, free: 7.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.4692, allocations: 31.44 kB / 0.5954 GB, free: 7.109 MB / 410.7 MB Notification: Performance of SimCode: time 1.963e-06/0.4692, allocations: 0 / 0.5954 GB, free: 7.109 MB / 410.7 MB Notification: Performance of Templates: time 0.02827/0.4975, allocations: 19.84 MB / 0.6148 GB, free: 3.281 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches