Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.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.TestSpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEnthalpy.h_out|specificEnthalpy1.h_out",fileNamePrefix="ModelicaTest_3.2.3_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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008829/0.0008829, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 173.3 kB / 16.58 MB, free: 6.84 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.93/1.93, allocations: 205.4 MB / 222.8 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4623/0.4623, allocations: 43.58 MB / 314.6 MB, free: 8.816 MB / 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.0005634/0.0005634, allocations: 22.95 kB / 384 MB, free: 7.984 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1769, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.3048/0.4818, allocations: 27.91 MB / 470.7 MB, free: 34.78 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01686/0.4987, allocations: 14.44 MB / 485.2 MB, free: 25.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005971/0.4994, allocations: 10.03 kB / 485.2 MB, free: 25.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.5001, allocations: 170.2 kB / 485.3 MB, free: 24.98 MB / 382.1 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.0007003/0.5009, allocations: 258.7 kB / 485.6 MB, free: 24.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01527/0.5161, allocations: 4.317 MB / 489.9 MB, free: 22.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001372/0.5175, allocations: 0.9278 MB / 490.8 MB, free: 22.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.518, allocations: 177.2 kB / 491 MB, free: 22.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01755/0.5356, allocations: 8.937 MB / 500 MB, free: 21.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007833/0.5364, allocations: 221.9 kB / 0.4885 GB, free: 21.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.5366, allocations: 13.84 kB / 0.4885 GB, free: 21.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01851/0.5551, allocations: 5.809 MB / 0.4941 GB, free: 19.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002627/0.5555, allocations: 72.75 kB / 0.4942 GB, free: 19.87 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003201/0.5558, allocations: 88.02 kB / 0.4943 GB, free: 19.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008927/0.5647, allocations: 2.457 MB / 0.4967 GB, free: 19.38 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5648, allocations: 0 / 0.4967 GB, free: 19.38 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5648, allocations: 0 / 0.4967 GB, free: 19.38 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.5648, allocations: 4.906 kB / 0.4967 GB, free: 19.38 MB / 382.1 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.005835/0.5706, allocations: 0.934 MB / 0.4976 GB, free: 18.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.5707, allocations: 9.594 kB / 0.4976 GB, free: 18.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009595/0.5717, allocations: 119 kB / 0.4977 GB, free: 18.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.5721, allocations: 322.4 kB / 0.498 GB, free: 18.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.5722, allocations: 23.98 kB / 0.4981 GB, free: 18.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.096e-05/0.5722, allocations: 26.88 kB / 0.4981 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.5734, allocations: 474.7 kB / 0.4985 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.5734, allocations: 1.031 kB / 0.4985 GB, free: 18.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.5735, allocations: 11.47 kB / 0.4986 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.5735, allocations: 6.531 kB / 0.4986 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.5745, allocations: 401.6 kB / 0.4989 GB, free: 18.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002797/0.5774, allocations: 2.39 MB / 0.5013 GB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009756/0.5783, allocations: 311 kB / 0.5016 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002631/0.5786, allocations: 103.6 kB / 0.5017 GB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/0.579, allocations: 482.7 kB / 0.5021 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.579, allocations: 39.95 kB / 0.5022 GB, free: 15.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 3.707e-06/0.5791, allocations: 0 / 0.5022 GB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001679/0.5807, allocations: 499.9 kB / 0.5026 GB, free: 15.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.5808, allocations: 105.8 kB / 0.5027 GB, free: 15.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003734/0.5812, allocations: 319.6 kB / 0.5031 GB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.5812, allocations: 31.55 kB / 0.5031 GB, free: 14.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.5814, allocations: 210 kB / 0.5033 GB, free: 14.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.5814, allocations: 44.95 kB / 0.5033 GB, free: 14.63 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.5814, allocations: 5.062 kB / 0.5033 GB, free: 14.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.211e-05/0.5815, allocations: 341.6 kB / 0.5037 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002367/0.5818, allocations: 93.78 kB / 0.5037 GB, free: 14.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002954/0.5821, allocations: 212.8 kB / 0.5039 GB, free: 14.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.5823, allocations: 122.3 kB / 0.5041 GB, free: 13.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.5824, allocations: 1.375 kB / 0.5041 GB, free: 13.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006694/0.583, allocations: 336.6 kB / 0.5044 GB, free: 13.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.5831, allocations: 6.875 kB / 0.5044 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5831, allocations: 4.125 kB / 0.5044 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.057e-05/0.5831, allocations: 5.5 kB / 0.5044 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/0.5834, allocations: 77.81 kB / 0.5045 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.571e-05/0.5834, allocations: 10.3 kB / 0.5045 GB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003059/0.5837, allocations: 48.42 kB / 0.5045 GB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.5837, allocations: 21.23 kB / 0.5046 GB, free: 13.76 MB / 382.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_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.0001722/0.5839, allocations: 151.6 kB / 0.5047 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.584, allocations: 34.75 kB / 0.5047 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001132/0.5851, allocations: 0.7784 MB / 0.5055 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-05/0.5851, allocations: 10.2 kB / 0.5055 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5852, allocations: 9.375 kB / 0.5055 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.199e-06/0.5852, allocations: 3.938 kB / 0.5055 GB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/0.5857, allocations: 0.5348 MB / 0.506 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5858, allocations: 0 / 0.506 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.586, allocations: 58.05 kB / 0.5061 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.586, allocations: 1.969 kB / 0.5061 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.586, allocations: 0 / 0.5061 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.586, allocations: 1.219 kB / 0.5061 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.586, allocations: 0 / 0.5061 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000691/0.5867, allocations: 483 kB / 0.5066 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.5869, allocations: 185.6 kB / 0.5067 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.225e-05/0.5869, allocations: 1.062 kB / 0.5067 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.5871, allocations: 27.91 kB / 0.5068 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.902e-05/0.5872, allocations: 20.02 kB / 0.5068 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.5872, allocations: 8.094 kB / 0.5068 GB, free: 12.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003821/0.5876, allocations: 339.9 kB / 0.5071 GB, free: 11.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5876, allocations: 0 / 0.5071 GB, free: 11.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.007244/0.5949, allocations: 0.8495 MB / 0.5079 GB, free: 11.78 MB / 382.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: 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.01123/0.6062, allocations: 0.9918 MB / 0.5089 GB, free: 11.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.6073, allocations: 297.8 kB / 0.5092 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6074, allocations: 2.25 kB / 0.5092 GB, free: 11.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.6077, allocations: 167.5 kB / 0.5094 GB, free: 11.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.609, allocations: 166.4 kB / 0.5095 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.6105, allocations: 1.03 MB / 0.5105 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.6108, allocations: 0.8387 MB / 0.5113 GB, free: 9.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004026/0.6112, allocations: 158.7 kB / 0.5115 GB, free: 9.461 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.397e-05/0.6113, allocations: 27.44 kB / 0.5115 GB, free: 9.434 MB / 382.1 MB Notification: Performance of SimCode: time 9.42e-07/0.6113, allocations: 0 / 0.5115 GB, free: 9.434 MB / 382.1 MB Notification: Performance of Templates: time 0.04767/0.659, allocations: 33.81 MB / 0.5445 GB, free: 7.602 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches