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.0009011/0.0009011, allocations: 95.89 kB / 15.68 MB, free: 488 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.0008875/0.0008875, allocations: 176.3 kB / 16.56 MB, free: 6.844 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.341/1.341, allocations: 205.4 MB / 222.7 MB, free: 5.664 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.304/0.304, allocations: 43.55 MB / 314.5 MB, free: 9.016 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.0004854/0.0004855, allocations: 22.97 kB / 383.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1017, allocations: 58.86 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.1864/0.2881, allocations: 25.39 MB / 468.1 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.2992, allocations: 13.18 MB / 481.3 MB, free: 28.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/0.2996, allocations: 7.219 kB / 481.3 MB, free: 28.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.3001, allocations: 179.3 kB / 481.5 MB, free: 28.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004097/0.3005, allocations: 218.1 kB / 481.7 MB, free: 27.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009592/0.3101, allocations: 4.365 MB / 486.1 MB, free: 25.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006017/0.3107, allocations: 482.7 kB / 486.6 MB, free: 25.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.311, allocations: 185.6 kB / 486.7 MB, free: 25.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01202/0.3231, allocations: 8.841 MB / 495.6 MB, free: 24.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003443/0.3234, allocations: 162.8 kB / 495.7 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.623e-05/0.3235, allocations: 13.53 kB / 495.7 MB, free: 24.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01048/0.334, allocations: 5.922 MB / 0.4899 GB, free: 23.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001287/0.3341, allocations: 70.75 kB / 0.49 GB, free: 23.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001881/0.3343, allocations: 91.48 kB / 0.4901 GB, free: 22.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006563/0.3409, allocations: 2.451 MB / 0.4925 GB, free: 22.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3409, allocations: 0 / 0.4925 GB, free: 22.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.341, allocations: 1.156 kB / 0.4925 GB, free: 22.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.974e-06/0.341, allocations: 0 / 0.4925 GB, free: 22.55 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.003554/0.3445, allocations: 0.9416 MB / 0.4934 GB, free: 21.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3446, allocations: 9.531 kB / 0.4934 GB, free: 21.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009931/0.3456, allocations: 118.6 kB / 0.4935 GB, free: 21.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.346, allocations: 320.8 kB / 0.4938 GB, free: 21.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.346, allocations: 24.3 kB / 0.4938 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.365e-05/0.3461, allocations: 23.28 kB / 0.4939 GB, free: 21.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.3471, allocations: 464.8 kB / 0.4943 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.3471, allocations: 1.156 kB / 0.4943 GB, free: 21.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.613e-05/0.3472, allocations: 16.75 kB / 0.4943 GB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3472, allocations: 11.78 kB / 0.4943 GB, free: 21.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.3483, allocations: 399.5 kB / 0.4947 GB, free: 21.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.3509, allocations: 2.395 MB / 0.497 GB, free: 19.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009588/0.3518, allocations: 308.4 kB / 0.4973 GB, free: 19.13 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003062/0.3521, allocations: 486.5 kB / 0.4978 GB, free: 18.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3522, allocations: 36.78 kB / 0.4978 GB, free: 18.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.402e-06/0.3522, allocations: 0 / 0.4978 GB, free: 18.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001616/0.3538, allocations: 498.8 kB / 0.4983 GB, free: 18.46 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.3538, allocations: 112.8 kB / 0.4984 GB, free: 18.33 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.3542, allocations: 314.5 kB / 0.4987 GB, free: 18.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.3542, allocations: 26.92 kB / 0.4987 GB, free: 18.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.67e-05/0.3543, allocations: 209.1 kB / 0.4989 GB, free: 17.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.3543, allocations: 43.34 kB / 0.499 GB, free: 17.92 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.3543, allocations: 5.031 kB / 0.499 GB, free: 17.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.577e-05/0.3544, allocations: 337.2 kB / 0.4993 GB, free: 17.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3546, allocations: 98.05 kB / 0.4994 GB, free: 17.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.3549, allocations: 208.2 kB / 0.4996 GB, free: 17.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.3552, allocations: 116.4 kB / 0.4997 GB, free: 17.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.3552, allocations: 1.438 kB / 0.4997 GB, free: 17.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006887/0.3559, allocations: 344.7 kB / 0.5 GB, free: 17.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.356, allocations: 6.812 kB / 0.5001 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.356, allocations: 3.188 kB / 0.5001 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.356, allocations: 6.719 kB / 0.5001 GB, free: 17.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.3563, allocations: 73.88 kB / 0.5001 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.037e-05/0.3563, allocations: 9.578 kB / 0.5001 GB, free: 17.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.3566, allocations: 49.44 kB / 0.5002 GB, free: 17.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.3566, allocations: 18.23 kB / 0.5002 GB, free: 17.18 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.0001336/0.3567, allocations: 159.4 kB / 0.5004 GB, free: 17.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.305e-05/0.3568, allocations: 30.53 kB / 0.5004 GB, free: 17.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.3578, allocations: 0.7837 MB / 0.5012 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3578, allocations: 3.891 kB / 0.5012 GB, free: 16.65 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.3579, allocations: 6.266 kB / 0.5012 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3579, allocations: 0 / 0.5012 GB, free: 16.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004777/0.3583, allocations: 0.5294 MB / 0.5017 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3584, allocations: 0 / 0.5017 GB, free: 16.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002157/0.3586, allocations: 59.94 kB / 0.5017 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.3586, allocations: 3.984 kB / 0.5017 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.3586, allocations: 4.25 kB / 0.5017 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.3586, allocations: 0 / 0.5017 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3586, allocations: 0 / 0.5017 GB, free: 16.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005987/0.3592, allocations: 487.1 kB / 0.5022 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.3593, allocations: 193 kB / 0.5024 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.3594, allocations: 1.594 kB / 0.5024 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.3597, allocations: 24.89 kB / 0.5024 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.3597, allocations: 15.66 kB / 0.5024 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.3597, allocations: 7.859 kB / 0.5024 GB, free: 15.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003196/0.3601, allocations: 347.7 kB / 0.5028 GB, free: 15.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3601, allocations: 0 / 0.5028 GB, free: 15.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.004256/0.3643, allocations: 0.843 MB / 0.5036 GB, free: 15.39 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.005422/0.3698, allocations: 0.9913 MB / 0.5046 GB, free: 14.98 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007117/0.3705, allocations: 296.4 kB / 0.5048 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3705, allocations: 0 / 0.5048 GB, free: 14.85 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002647/0.3708, allocations: 178.4 kB / 0.505 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008874/0.3717, allocations: 162.7 kB / 0.5052 GB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.3728, allocations: 1.029 MB / 0.5062 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.373, allocations: 0.8477 MB / 0.507 GB, free: 13.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002834/0.3733, allocations: 148.2 kB / 0.5071 GB, free: 13.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.665e-05/0.3734, allocations: 29.12 kB / 0.5072 GB, free: 13.1 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3734, allocations: 0 / 0.5072 GB, free: 13.1 MB / 382.1 MB Notification: Performance of Templates: time 0.04036/0.4137, allocations: 33.81 MB / 0.5402 GB, free: 11.99 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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