Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 180.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 221.3 MB / 236 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008697/0.0008696, allocations: 95.73 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.697e-05/3.701e-05, allocations: 4.219 kB / 451.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1501, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.187/6.338, allocations: 2.759 GB / 3.261 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/6.338, allocations: 83.69 kB / 3.261 GB, free: 156.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.8735/7.211, allocations: 294.8 MB / 3.549 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.463e-06/7.211, allocations: 0 / 3.549 GB, free: 91.55 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.049e-05/7.212, allocations: 10.97 kB / 3.549 GB, free: 91.54 MB / 0.5261 GB 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.003964/7.215, allocations: 1.202 MB / 3.55 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/7.216, allocations: 11.72 kB / 3.55 GB, free: 90.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008689/7.216, allocations: 121.2 kB / 3.55 GB, free: 90.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004028/7.217, allocations: 324.2 kB / 3.55 GB, free: 90.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/7.217, allocations: 23.44 kB / 3.55 GB, free: 90.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/7.217, allocations: 22.5 kB / 3.55 GB, free: 90.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008091/7.218, allocations: 444 kB / 3.551 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/7.218, allocations: 0 / 3.551 GB, free: 90.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/7.218, allocations: 11.88 kB / 3.551 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/7.218, allocations: 7.656 kB / 3.551 GB, free: 90.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006656/7.218, allocations: 337 kB / 3.551 GB, free: 90.07 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002228/7.221, allocations: 2.37 MB / 3.553 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/7.221, allocations: 220 kB / 3.554 GB, free: 87.99 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.497e-05/7.221, allocations: 61.83 kB / 3.554 GB, free: 87.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003148/7.222, allocations: 476.7 kB / 3.554 GB, free: 87.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/7.222, allocations: 38.34 kB / 3.554 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/7.222, allocations: 0 / 3.554 GB, free: 87.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12): time 0.0009682/7.223, allocations: 353.9 kB / 3.555 GB, free: 87.31 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/7.223, allocations: 106.8 kB / 3.555 GB, free: 87.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/7.223, allocations: 288.7 kB / 3.555 GB, free: 87.02 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/7.223, allocations: 25.7 kB / 3.555 GB, free: 86.99 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.754e-05/7.223, allocations: 211.4 kB / 3.555 GB, free: 86.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/7.223, allocations: 37.73 kB / 3.555 GB, free: 86.79 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-06/7.223, allocations: 4 kB / 3.555 GB, free: 86.78 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.545e-05/7.223, allocations: 341.4 kB / 3.556 GB, free: 86.46 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-05/7.223, allocations: 49.44 kB / 3.556 GB, free: 86.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/7.224, allocations: 170.4 kB / 3.556 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/7.224, allocations: 70.53 kB / 3.556 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/7.224, allocations: 0 / 3.556 GB, free: 86.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003063/7.224, allocations: 246.5 kB / 3.556 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/7.224, allocations: 7.75 kB / 3.556 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/7.224, allocations: 7.594 kB / 3.556 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/7.224, allocations: 4.312 kB / 3.556 GB, free: 86.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002351/7.224, allocations: 76.05 kB / 3.556 GB, free: 86.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/7.224, allocations: 11.73 kB / 3.556 GB, free: 86.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/7.225, allocations: 48.86 kB / 3.556 GB, free: 86.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/7.225, allocations: 15.22 kB / 3.556 GB, free: 86.07 MB / 0.5261 GB 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 () * 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 6.577e-05/7.225, allocations: 124.6 kB / 3.556 GB, free: 85.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/7.225, allocations: 27.12 kB / 3.556 GB, free: 85.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006042/7.225, allocations: 0.6886 MB / 3.557 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/7.225, allocations: 15.75 kB / 3.557 GB, free: 85.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/7.225, allocations: 4 kB / 3.557 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/7.225, allocations: 3.953 kB / 3.557 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003913/7.226, allocations: 0.5237 MB / 3.558 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-06/7.226, allocations: 0 / 3.558 GB, free: 85.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/7.226, allocations: 55.19 kB / 3.558 GB, free: 84.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/7.226, allocations: 4 kB / 3.558 GB, free: 84.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/7.226, allocations: 4 kB / 3.558 GB, free: 84.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/7.226, allocations: 4 kB / 3.558 GB, free: 84.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/7.226, allocations: 0 / 3.558 GB, free: 84.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/7.226, allocations: 391.8 kB / 3.558 GB, free: 84.58 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/7.226, allocations: 194.6 kB / 3.558 GB, free: 84.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.424e-05/7.226, allocations: 4 kB / 3.558 GB, free: 84.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/7.227, allocations: 23.8 kB / 3.558 GB, free: 84.38 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.36e-05/7.227, allocations: 19.5 kB / 3.558 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.182e-05/7.227, allocations: 7.75 kB / 3.558 GB, free: 84.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002684/7.227, allocations: 336.4 kB / 3.559 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/7.227, allocations: 0 / 3.559 GB, free: 84.05 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004139/7.231, allocations: 0.8726 MB / 3.559 GB, free: 83.2 MB / 0.5261 GB 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 () * 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.004385/7.236, allocations: 1.293 MB / 3.561 GB, free: 82.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003308/7.236, allocations: 195 kB / 3.561 GB, free: 82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/7.236, allocations: 0 / 3.561 GB, free: 82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001315/7.236, allocations: 131.8 kB / 3.561 GB, free: 81.88 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008093/7.237, allocations: 168.6 kB / 3.561 GB, free: 81.75 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007217/7.238, allocations: 0.5507 MB / 3.562 GB, free: 81.23 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002162/7.238, allocations: 0.8506 MB / 3.562 GB, free: 80.42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002588/7.238, allocations: 127.3 kB / 3.563 GB, free: 80.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.612e-05/7.238, allocations: 34.58 kB / 3.563 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/7.238, allocations: 0 / 3.563 GB, free: 80.32 MB / 0.5261 GB Notification: Performance of Templates: time 0.04308/7.281, allocations: 29.78 MB / 3.592 GB, free: 51.02 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches