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.001006/0.001006, allocations: 194.7 kB / 16.79 MB, free: 5.035 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 226.5 MB / 244.1 MB, free: 8.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008074/0.0008073, allocations: 93.44 kB / 296.1 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4272/0.4272, allocations: 44.83 MB / 393 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003081/0.0003087, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3923, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.887/7.279, allocations: 2.76 GB / 3.277 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/7.279, allocations: 83.95 kB / 3.277 GB, free: 6.422 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.358/8.637, allocations: 285.2 MB / 3.555 GB, free: 91.76 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.056e-06/8.637, allocations: 0 / 3.555 GB, free: 91.76 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.899e-05/8.637, allocations: 8.375 kB / 3.555 GB, free: 91.76 MB / 0.5417 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.006026/8.643, allocations: 1.25 MB / 3.557 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.646e-05/8.643, allocations: 8.906 kB / 3.557 GB, free: 91.12 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/8.644, allocations: 132.8 kB / 3.557 GB, free: 91.1 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/8.645, allocations: 339.3 kB / 3.557 GB, free: 90.89 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/8.645, allocations: 25.97 kB / 3.557 GB, free: 90.89 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.742e-05/8.645, allocations: 23.53 kB / 3.557 GB, free: 90.89 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/8.646, allocations: 465.4 kB / 3.558 GB, free: 90.76 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/8.646, allocations: 6.094 kB / 3.558 GB, free: 90.76 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.188e-05/8.646, allocations: 15.97 kB / 3.558 GB, free: 90.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/8.646, allocations: 10.02 kB / 3.558 GB, free: 90.76 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/8.648, allocations: 393.6 kB / 3.558 GB, free: 90.76 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/8.651, allocations: 2.359 MB / 3.56 GB, free: 89 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000979/8.652, allocations: 282.8 kB / 3.561 GB, free: 88.98 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002726/8.652, allocations: 85.75 kB / 3.561 GB, free: 88.97 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/8.652, allocations: 481.4 kB / 3.561 GB, free: 88.5 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/8.652, allocations: 34.28 kB / 3.561 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=12): time 1.833e-06/8.652, allocations: 1.406 kB / 3.561 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12): time 0.001726/8.654, allocations: 469.2 kB / 3.562 GB, free: 88.42 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/8.654, allocations: 108 kB / 3.562 GB, free: 88.29 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003949/8.655, allocations: 317.3 kB / 3.562 GB, free: 88.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/8.655, allocations: 29.95 kB / 3.562 GB, free: 88.15 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/8.655, allocations: 213.6 kB / 3.562 GB, free: 88.04 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.18e-05/8.655, allocations: 44.86 kB / 3.562 GB, free: 88.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/8.655, allocations: 4.438 kB / 3.562 GB, free: 88.02 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001039/8.655, allocations: 339.7 kB / 3.563 GB, free: 87.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002831/8.655, allocations: 87.16 kB / 3.563 GB, free: 87.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/8.656, allocations: 200.2 kB / 3.563 GB, free: 87.56 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/8.656, allocations: 284 kB / 3.563 GB, free: 87.43 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/8.656, allocations: 4.734 kB / 3.563 GB, free: 87.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000824/8.657, allocations: 322.3 kB / 3.563 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/8.657, allocations: 6.781 kB / 3.563 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/8.657, allocations: 8.781 kB / 3.563 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.667e-05/8.657, allocations: 5.969 kB / 3.563 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002861/8.658, allocations: 69.25 kB / 3.564 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/8.658, allocations: 5.719 kB / 3.564 GB, free: 87.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/8.658, allocations: 63.27 kB / 3.564 GB, free: 87.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/8.658, allocations: 11.56 kB / 3.564 GB, free: 87.38 MB / 0.5417 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 () * 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.0001968/8.658, allocations: 152.6 kB / 3.564 GB, free: 87.26 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/8.658, allocations: 30.84 kB / 3.564 GB, free: 87.25 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00115/8.659, allocations: 0.7691 MB / 3.565 GB, free: 87.14 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.602e-05/8.659, allocations: 7.688 kB / 3.565 GB, free: 87.14 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.447e-06/8.659, allocations: 0 / 3.565 GB, free: 87.14 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/8.659, allocations: 9.562 kB / 3.565 GB, free: 87.13 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/8.66, allocations: 0.5172 MB / 3.565 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/8.66, allocations: 0 / 3.565 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/8.66, allocations: 53.14 kB / 3.565 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/8.66, allocations: 0 / 3.565 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/8.66, allocations: 9.031 kB / 3.565 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/8.66, allocations: 3.875 kB / 3.565 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/8.66, allocations: 0 / 3.565 GB, free: 86.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006628/8.661, allocations: 484 kB / 3.566 GB, free: 86.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/8.661, allocations: 186 kB / 3.566 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.039e-05/8.661, allocations: 0 / 3.566 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/8.661, allocations: 34.52 kB / 3.566 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.21e-05/8.662, allocations: 18.48 kB / 3.566 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/8.662, allocations: 11.17 kB / 3.566 GB, free: 86.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003667/8.662, allocations: 337.7 kB / 3.566 GB, free: 86.53 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/8.662, allocations: 0 / 3.566 GB, free: 86.53 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0048/8.667, allocations: 0.8812 MB / 3.567 GB, free: 86.43 MB / 0.5417 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 () * 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.006334/8.673, allocations: 1.292 MB / 3.568 GB, free: 86.19 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007992/8.674, allocations: 274.4 kB / 3.569 GB, free: 86.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/8.674, allocations: 0 / 3.569 GB, free: 86.19 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000266/8.674, allocations: 162.8 kB / 3.569 GB, free: 86.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009878/8.675, allocations: 174.1 kB / 3.569 GB, free: 86.18 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/8.677, allocations: 1.062 MB / 3.57 GB, free: 85.61 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/8.677, allocations: 0.8441 MB / 3.571 GB, free: 84.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/8.677, allocations: 32.84 kB / 3.571 GB, free: 84.91 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/8.677, allocations: 0 / 3.571 GB, free: 84.91 MB / 0.5417 GB Notification: Performance of Templates: time 0.03245/8.709, allocations: 20.55 MB / 3.591 GB, free: 84.45 MB / 0.5417 GB 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/jenkins1/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