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.002086/0.002085, allocations: 186.6 kB / 16.41 MB, free: 5.727 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.898/1.898, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001159/0.001159, allocations: 88.42 kB / 270.9 MB, free: 8.367 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.6001/0.6001, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 8 kB / 431.4 MB, free: 6.164 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1191, allocations: 58.85 MB / 490.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.384/8.503, allocations: 2.754 GB / 3.233 GB, free: 58.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002667/8.503, allocations: 88.02 kB / 3.233 GB, free: 58.85 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.709/10.21, allocations: 292.5 MB / 3.518 GB, free: 56.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.205e-06/10.21, allocations: 0 / 3.518 GB, free: 56.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.863e-05/10.21, allocations: 9.938 kB / 3.518 GB, free: 56.95 MB / 0.4948 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.005242/10.22, allocations: 1.245 MB / 3.52 GB, free: 56.37 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/10.22, allocations: 6.938 kB / 3.52 GB, free: 56.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001382/10.22, allocations: 118.3 kB / 3.52 GB, free: 56.35 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006864/10.22, allocations: 333.3 kB / 3.52 GB, free: 56.14 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.648e-05/10.22, allocations: 24.86 kB / 3.52 GB, free: 56.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/10.22, allocations: 24.5 kB / 3.52 GB, free: 56.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/10.22, allocations: 464.2 kB / 3.52 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/10.22, allocations: 0 / 3.52 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/10.22, allocations: 14.61 kB / 3.52 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/10.22, allocations: 7.031 kB / 3.52 GB, free: 56.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/10.22, allocations: 393.9 kB / 3.521 GB, free: 56.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/10.23, allocations: 2.362 MB / 3.523 GB, free: 54.26 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001567/10.23, allocations: 275.3 kB / 3.523 GB, free: 54.23 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005271/10.23, allocations: 484.3 kB / 3.524 GB, free: 53.76 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/10.23, allocations: 34.5 kB / 3.524 GB, free: 53.72 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 3.346e-06/10.23, allocations: 3.969 kB / 3.524 GB, free: 53.72 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.002658/10.23, allocations: 472.2 kB / 3.524 GB, free: 53.67 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/10.23, allocations: 104.4 kB / 3.524 GB, free: 53.55 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/10.23, allocations: 286.8 kB / 3.525 GB, free: 53.45 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/10.23, allocations: 27.64 kB / 3.525 GB, free: 53.41 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/10.23, allocations: 257.4 kB / 3.525 GB, free: 53.23 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/10.23, allocations: 42.22 kB / 3.525 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/10.23, allocations: 6.922 kB / 3.525 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.616e-05/10.23, allocations: 322.6 kB / 3.525 GB, free: 52.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004291/10.23, allocations: 81.17 kB / 3.525 GB, free: 52.9 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005268/10.23, allocations: 213.2 kB / 3.526 GB, free: 52.76 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/10.23, allocations: 106.2 kB / 3.526 GB, free: 52.76 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/10.23, allocations: 0 / 3.526 GB, free: 52.76 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001152/10.24, allocations: 302.1 kB / 3.526 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/10.24, allocations: 13.77 kB / 3.526 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/10.24, allocations: 3.344 kB / 3.526 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/10.24, allocations: 6.562 kB / 3.526 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004565/10.24, allocations: 71.17 kB / 3.526 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/10.24, allocations: 6.812 kB / 3.526 GB, free: 52.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005071/10.24, allocations: 57.39 kB / 3.526 GB, free: 52.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.416e-05/10.24, allocations: 14.5 kB / 3.526 GB, free: 52.71 MB / 0.4948 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.0002391/10.24, allocations: 158.3 kB / 3.526 GB, free: 52.59 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.552e-05/10.24, allocations: 32.5 kB / 3.526 GB, free: 52.58 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/10.24, allocations: 0.7727 MB / 3.527 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-05/10.24, allocations: 9.281 kB / 3.527 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/10.24, allocations: 3.156 kB / 3.527 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/10.24, allocations: 2.625 kB / 3.527 GB, free: 52.46 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007741/10.24, allocations: 0.5155 MB / 3.528 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/10.24, allocations: 0 / 3.528 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/10.24, allocations: 52.42 kB / 3.528 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/10.24, allocations: 0 / 3.528 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/10.24, allocations: 9.766 kB / 3.528 GB, free: 52.27 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/10.24, allocations: 3.953 kB / 3.528 GB, free: 52.26 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/10.24, allocations: 0 / 3.528 GB, free: 52.26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/10.24, allocations: 471.9 kB / 3.528 GB, free: 52.09 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002127/10.24, allocations: 196.3 kB / 3.528 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.728e-05/10.24, allocations: 0 / 3.528 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000408/10.24, allocations: 26.06 kB / 3.528 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.159e-05/10.24, allocations: 23.98 kB / 3.528 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/10.24, allocations: 6.578 kB / 3.528 GB, free: 51.96 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005212/10.24, allocations: 336.9 kB / 3.529 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.9e-07/10.24, allocations: 0 / 3.529 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004607/10.25, allocations: 0.8683 MB / 3.53 GB, free: 51.74 MB / 0.4948 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.008744/10.26, allocations: 1.287 MB / 3.531 GB, free: 51.51 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001185/10.26, allocations: 281.3 kB / 3.531 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/10.26, allocations: 0 / 3.531 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004702/10.26, allocations: 169.4 kB / 3.531 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001511/10.26, allocations: 168.2 kB / 3.531 GB, free: 51.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/10.26, allocations: 1.056 MB / 3.532 GB, free: 50.94 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004107/10.26, allocations: 0.8443 MB / 3.533 GB, free: 50.25 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/10.26, allocations: 37.36 kB / 3.533 GB, free: 50.24 MB / 0.4948 GB Notification: Performance of SimCode: time 1.132e-06/10.26, allocations: 3.188 kB / 3.533 GB, free: 50.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.05458/10.32, allocations: 22.94 MB / 3.556 GB, free: 48.71 MB / 0.4948 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