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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001304, allocations: 183 kB / 16.63 MB, free: 5.137 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.338/1.338, allocations: 205.1 MB / 222.5 MB, free: 8.477 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.0009328/0.0009328, allocations: 109.1 kB / 269.9 MB, free: 8.434 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.2937/0.2937, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00103/0.00103, allocations: 51.91 kB / 429.2 MB, free: 6.371 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1128, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.21/0.3228, allocations: 30.89 MB / 0.5058 GB, free: 37.38 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.01479/0.3377, allocations: 16.47 MB / 0.5218 GB, free: 36.6 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002687/0.338, allocations: 9.656 kB / 0.5219 GB, free: 36.59 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005816/0.3386, allocations: 182.8 kB / 0.522 GB, free: 36.52 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004815/0.3391, allocations: 252.5 kB / 0.5223 GB, free: 36.4 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01276/0.3519, allocations: 4.517 MB / 0.5267 GB, free: 35.16 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.3529, allocations: 1.098 MB / 0.5278 GB, free: 34.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002696/0.3532, allocations: 193.3 kB / 0.5279 GB, free: 34.76 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01025/0.3635, allocations: 5.412 MB / 0.5332 GB, free: 32.25 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.3639, allocations: 239 kB / 0.5335 GB, free: 32.16 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.072e-05/0.364, allocations: 12.72 kB / 0.5335 GB, free: 32.16 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009375/0.3734, allocations: 6.008 MB / 0.5393 GB, free: 30.66 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.3735, allocations: 73.55 kB / 0.5394 GB, free: 30.63 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.3738, allocations: 174.2 kB / 0.5396 GB, free: 30.54 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007922/0.3817, allocations: 3.637 MB / 0.5431 GB, free: 29.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.3818, allocations: 0 / 0.5431 GB, free: 29.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3818, allocations: 0 / 0.5431 GB, free: 29.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.3818, allocations: 0 / 0.5431 GB, free: 29.55 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.003069/0.3849, allocations: 0.996 MB / 0.5441 GB, free: 28.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3849, allocations: 17.47 kB / 0.5441 GB, free: 28.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008574/0.3858, allocations: 104.6 kB / 0.5442 GB, free: 28.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.3861, allocations: 325.3 kB / 0.5445 GB, free: 28.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.3862, allocations: 24.59 kB / 0.5445 GB, free: 28.55 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.3862, allocations: 23.53 kB / 0.5446 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3872, allocations: 457.5 kB / 0.545 GB, free: 28.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3872, allocations: 2.875 kB / 0.545 GB, free: 28.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.92e-05/0.3873, allocations: 10.97 kB / 0.545 GB, free: 28.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3873, allocations: 5.938 kB / 0.545 GB, free: 28.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009864/0.3883, allocations: 375.4 kB / 0.5454 GB, free: 28.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.3909, allocations: 2.375 MB / 0.5477 GB, free: 26.21 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009236/0.3918, allocations: 291.6 kB / 0.548 GB, free: 26.11 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.392, allocations: 92.47 kB / 0.5481 GB, free: 26.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003031/0.3924, allocations: 483 kB / 0.5485 GB, free: 25.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.3924, allocations: 41.97 kB / 0.5486 GB, free: 25.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.3924, allocations: 0 / 0.5486 GB, free: 25.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.001564/0.394, allocations: 437.2 kB / 0.549 GB, free: 25.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.394, allocations: 110.7 kB / 0.5491 GB, free: 25.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.3943, allocations: 327.6 kB / 0.5494 GB, free: 25.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.3943, allocations: 25.92 kB / 0.5494 GB, free: 25.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.249e-05/0.3944, allocations: 218.6 kB / 0.5496 GB, free: 24.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.3944, allocations: 37.28 kB / 0.5497 GB, free: 24.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.3945, allocations: 61.7 kB / 0.5497 GB, free: 24.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.612e-05/0.3946, allocations: 338.5 kB / 0.55 GB, free: 24.51 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.3948, allocations: 84.41 kB / 0.5501 GB, free: 24.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.3951, allocations: 203.4 kB / 0.5503 GB, free: 24.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004652/0.3956, allocations: 281.6 kB / 0.5506 GB, free: 24.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3956, allocations: 3.031 kB / 0.5506 GB, free: 24.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006064/0.3962, allocations: 314.2 kB / 0.5509 GB, free: 23.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3962, allocations: 5.719 kB / 0.5509 GB, free: 23.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.3963, allocations: 7.875 kB / 0.5509 GB, free: 23.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.3963, allocations: 5.875 kB / 0.5509 GB, free: 23.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.3965, allocations: 68.47 kB / 0.551 GB, free: 23.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.3965, allocations: 14.81 kB / 0.551 GB, free: 23.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.3968, allocations: 50.12 kB / 0.551 GB, free: 23.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.3968, allocations: 13.5 kB / 0.5511 GB, free: 23.94 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_2.medium.phase,boundary_prescriberho_1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001152/0.3969, allocations: 155 kB / 0.5512 GB, free: 23.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.397, allocations: 27.31 kB / 0.5512 GB, free: 23.79 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009076/0.3979, allocations: 0.7521 MB / 0.552 GB, free: 23.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3979, allocations: 6.172 kB / 0.552 GB, free: 23.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3979, allocations: 3.938 kB / 0.552 GB, free: 23.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3979, allocations: 0 / 0.552 GB, free: 23.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003988/0.3983, allocations: 0.5345 MB / 0.5525 GB, free: 23.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3984, allocations: 0 / 0.5525 GB, free: 23.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.3985, allocations: 45.05 kB / 0.5525 GB, free: 23.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.3986, allocations: 0 / 0.5525 GB, free: 23.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.3986, allocations: 4.922 kB / 0.5525 GB, free: 23.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.3986, allocations: 4 kB / 0.5525 GB, free: 23.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3986, allocations: 3.938 kB / 0.5525 GB, free: 23.04 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.3997, allocations: 1.26 MB / 0.5538 GB, free: 22.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.3998, allocations: 122 kB / 0.5539 GB, free: 21.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/0.3998, allocations: 26.34 kB / 0.5539 GB, free: 21.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.4, allocations: 19.72 kB / 0.5539 GB, free: 21.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.575e-05/0.4001, allocations: 18.42 kB / 0.554 GB, free: 21.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4001, allocations: 10.34 kB / 0.554 GB, free: 21.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003242/0.4004, allocations: 337.7 kB / 0.5543 GB, free: 21.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4005, allocations: 1.031 kB / 0.5543 GB, free: 21.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003922/0.4044, allocations: 0.8509 MB / 0.5551 GB, free: 21.63 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: 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005101/0.4095, allocations: 0.9946 MB / 0.5561 GB, free: 21.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007234/0.4102, allocations: 278.8 kB / 0.5564 GB, free: 21.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.4103, allocations: 1.25 kB / 0.5564 GB, free: 21.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002744/0.4105, allocations: 166.9 kB / 0.5565 GB, free: 21.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009814/0.4115, allocations: 177.7 kB / 0.5567 GB, free: 21.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0014/0.4129, allocations: 1.253 MB / 0.5579 GB, free: 20.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4132, allocations: 0.8531 MB / 0.5587 GB, free: 19.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003209/0.4135, allocations: 135.9 kB / 0.5589 GB, free: 19.53 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.626e-05/0.4136, allocations: 35.58 kB / 0.5589 GB, free: 19.52 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.4136, allocations: 0 / 0.5589 GB, free: 19.52 MB / 394.7 MB Notification: Performance of Templates: time 0.03701/0.4506, allocations: 33.57 MB / 0.5917 GB, free: 10.39 MB / 410.7 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@2/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