Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_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_3.2.3_cpp_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.002195/0.002195, allocations: 181.6 kB / 13.66 MB, free: 1.664 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.977/1.977, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001068/0.001068, allocations: 90.64 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3499/0.3499, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.839e-05, allocations: 8 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.959/8.071, allocations: 2.754 GB / 3.227 GB, free: 87.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/8.071, allocations: 87.66 kB / 3.227 GB, free: 87.57 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.306/9.377, allocations: 291.7 MB / 3.511 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.713e-06/9.377, allocations: 0 / 3.511 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.776e-05/9.378, allocations: 11.94 kB / 3.511 GB, free: 17 MB / 0.5105 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.004867/9.382, allocations: 1.203 MB / 3.513 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/9.382, allocations: 8.031 kB / 3.513 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/9.384, allocations: 119.4 kB / 3.513 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006067/9.384, allocations: 321.5 kB / 3.513 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/9.384, allocations: 24.56 kB / 3.513 GB, free: 15.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.211e-05/9.384, allocations: 27.94 kB / 3.513 GB, free: 15.21 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/9.386, allocations: 439 kB / 3.514 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/9.386, allocations: 0 / 3.514 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/9.386, allocations: 12.34 kB / 3.514 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/9.386, allocations: 11.95 kB / 3.514 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/9.387, allocations: 337.4 kB / 3.514 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/9.391, allocations: 2.368 MB / 3.516 GB, free: 11.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009853/9.392, allocations: 226.4 kB / 3.516 GB, free: 11.58 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/9.392, allocations: 52.84 kB / 3.516 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004779/9.392, allocations: 485.5 kB / 3.517 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.19e-05/9.392, allocations: 42.48 kB / 3.517 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.515e-06/9.392, allocations: 3.938 kB / 3.517 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.0016/9.394, allocations: 345.1 kB / 3.517 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/9.394, allocations: 107 kB / 3.517 GB, free: 10.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004059/9.395, allocations: 286.5 kB / 3.518 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/9.395, allocations: 25.7 kB / 3.518 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/9.395, allocations: 261.7 kB / 3.518 GB, free: 9.859 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/9.395, allocations: 35.45 kB / 3.518 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.771e-05/9.395, allocations: 12 kB / 3.518 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.4e-05/9.395, allocations: 318.8 kB / 3.518 GB, free: 9.492 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/9.395, allocations: 51.98 kB / 3.518 GB, free: 9.441 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/9.395, allocations: 165.7 kB / 3.519 GB, free: 9.227 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/9.395, allocations: 71.94 kB / 3.519 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/9.395, allocations: 0 / 3.519 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005134/9.396, allocations: 233.2 kB / 3.519 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/9.396, allocations: 6.969 kB / 3.519 GB, free: 8.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/9.396, allocations: 4 kB / 3.519 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.186e-05/9.396, allocations: 12 kB / 3.519 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004519/9.396, allocations: 72.36 kB / 3.519 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.324e-05/9.397, allocations: 11.92 kB / 3.519 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004675/9.397, allocations: 51.67 kB / 3.519 GB, free: 8.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/9.397, allocations: 8 kB / 3.519 GB, free: 8.762 MB / 0.5105 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 9.309e-05/9.397, allocations: 124.9 kB / 3.519 GB, free: 8.633 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.979e-05/9.397, allocations: 35.58 kB / 3.519 GB, free: 8.598 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000955/9.398, allocations: 0.7015 MB / 3.52 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/9.398, allocations: 7.984 kB / 3.52 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/9.398, allocations: 4 kB / 3.52 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/9.398, allocations: 4 kB / 3.52 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006185/9.399, allocations: 0.5142 MB / 3.52 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/9.399, allocations: 0 / 3.52 GB, free: 7.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003762/9.399, allocations: 55.89 kB / 3.52 GB, free: 7.258 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/9.399, allocations: 3.953 kB / 3.52 GB, free: 7.254 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/9.399, allocations: 8 kB / 3.52 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/9.399, allocations: 0 / 3.52 GB, free: 7.246 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/9.399, allocations: 7.984 kB / 3.52 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/9.4, allocations: 385.8 kB / 3.521 GB, free: 6.844 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/9.4, allocations: 180.2 kB / 3.521 GB, free: 6.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/9.4, allocations: 11.95 kB / 3.521 GB, free: 6.637 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004102/9.401, allocations: 31.91 kB / 3.521 GB, free: 6.605 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.409e-05/9.401, allocations: 19.97 kB / 3.521 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/9.401, allocations: 4 kB / 3.521 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004662/9.401, allocations: 333.6 kB / 3.521 GB, free: 6.258 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/9.401, allocations: 3.938 kB / 3.521 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004222/9.405, allocations: 0.8663 MB / 3.522 GB, free: 5.387 MB / 0.5105 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.007709/9.413, allocations: 1.282 MB / 3.523 GB, free: 4.105 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005773/9.414, allocations: 207.8 kB / 3.524 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/9.414, allocations: 0 / 3.524 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002088/9.414, allocations: 135.9 kB / 3.524 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001417/9.415, allocations: 170.1 kB / 3.524 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/9.417, allocations: 0.5772 MB / 3.524 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002971/9.417, allocations: 0.8427 MB / 3.525 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/9.417, allocations: 39.42 kB / 3.525 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of SimCode: time 1.042e-06/9.417, allocations: 0 / 3.525 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of Templates: time 0.4064/9.823, allocations: 22.74 MB / 3.548 GB, free: 78.32 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/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_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches