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.0009538/0.0009539, allocations: 183.1 kB / 13.19 MB, free: 2.129 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.428/1.428, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008038/0.0008038, allocations: 88.47 kB / 267 MB, free: 9.266 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.3696/0.3696, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.747e-05, allocations: 0 / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 58.85 MB / 484.2 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.511/5.625, allocations: 2.754 GB / 3.227 GB, free: 70.96 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003694/5.625, allocations: 90.36 kB / 3.227 GB, free: 70.92 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.799/6.424, allocations: 291.7 MB / 3.512 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.565e-06/6.424, allocations: 0 / 3.512 GB, free: 2.977 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.39e-05/6.424, allocations: 12 kB / 3.512 GB, free: 2.965 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.004583/6.429, allocations: 1.205 MB / 3.513 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/6.429, allocations: 8.031 kB / 3.513 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/6.43, allocations: 123.4 kB / 3.513 GB, free: 1.586 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003984/6.43, allocations: 326.7 kB / 3.513 GB, free: 1.223 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/6.43, allocations: 24.56 kB / 3.513 GB, free: 1.199 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/6.431, allocations: 24 kB / 3.513 GB, free: 1.176 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007785/6.431, allocations: 443.7 kB / 3.514 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/6.431, allocations: 3.938 kB / 3.514 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/6.431, allocations: 12 kB / 3.514 GB, free: 0.6875 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/6.431, allocations: 11.95 kB / 3.514 GB, free: 0.6758 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006363/6.432, allocations: 337.4 kB / 3.514 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2742/6.706, allocations: 2.356 MB / 3.516 GB, free: 67.67 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007414/6.707, allocations: 226 kB / 3.516 GB, free: 67.65 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/6.707, allocations: 59.67 kB / 3.517 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003515/6.708, allocations: 479 kB / 3.517 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/6.708, allocations: 38.09 kB / 3.517 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/6.708, allocations: 0 / 3.517 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12): time 0.001158/6.709, allocations: 352.8 kB / 3.517 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/6.709, allocations: 108.6 kB / 3.517 GB, free: 66.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002948/6.709, allocations: 283.5 kB / 3.518 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/6.709, allocations: 27.77 kB / 3.518 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/6.709, allocations: 211 kB / 3.518 GB, free: 66.71 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/6.709, allocations: 39.91 kB / 3.518 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/6.709, allocations: 4.031 kB / 3.518 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.525e-05/6.709, allocations: 338.6 kB / 3.518 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.202e-05/6.709, allocations: 51.95 kB / 3.518 GB, free: 66.38 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/6.71, allocations: 166.8 kB / 3.519 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/6.71, allocations: 70.53 kB / 3.519 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/6.71, allocations: 0.7812 kB / 3.519 GB, free: 66.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003715/6.71, allocations: 242 kB / 3.519 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/6.71, allocations: 7.156 kB / 3.519 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/6.71, allocations: 3.922 kB / 3.519 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/6.71, allocations: 8.594 kB / 3.519 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/6.71, allocations: 78 kB / 3.519 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/6.711, allocations: 6.641 kB / 3.519 GB, free: 66.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/6.711, allocations: 54.36 kB / 3.519 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/6.711, allocations: 15.47 kB / 3.519 GB, free: 66.18 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 7.325e-05/6.711, allocations: 119.8 kB / 3.519 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.221e-05/6.711, allocations: 26.25 kB / 3.519 GB, free: 66.06 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007611/6.712, allocations: 0.6972 MB / 3.52 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/6.712, allocations: 5.672 kB / 3.52 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/6.712, allocations: 7.453 kB / 3.52 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/6.712, allocations: 5.297 kB / 3.52 GB, free: 65.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/6.712, allocations: 0.5206 MB / 3.52 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/6.712, allocations: 1.875 kB / 3.52 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002127/6.713, allocations: 55.53 kB / 3.52 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/6.713, allocations: 0 / 3.52 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/6.713, allocations: 5.828 kB / 3.52 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/6.713, allocations: 2.969 kB / 3.52 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/6.713, allocations: 0.75 kB / 3.52 GB, free: 65.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/6.713, allocations: 393.5 kB / 3.521 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001316/6.713, allocations: 194.2 kB / 3.521 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/6.713, allocations: 5.312 kB / 3.521 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002557/6.713, allocations: 24.83 kB / 3.521 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/6.713, allocations: 22.5 kB / 3.521 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/6.713, allocations: 9.547 kB / 3.521 GB, free: 65.45 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000335/6.714, allocations: 329.5 kB / 3.521 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/6.714, allocations: 0 / 3.521 GB, free: 65.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004368/6.718, allocations: 0.8672 MB / 3.522 GB, free: 65.36 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.003981/6.722, allocations: 1.287 MB / 3.523 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003157/6.723, allocations: 211.7 kB / 3.524 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/6.723, allocations: 0 / 3.524 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001289/6.723, allocations: 129.5 kB / 3.524 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008052/6.723, allocations: 164.2 kB / 3.524 GB, free: 65.24 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/6.724, allocations: 0.5414 MB / 3.524 GB, free: 65.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/6.725, allocations: 0.8564 MB / 3.525 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002707/6.725, allocations: 126.5 kB / 3.525 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/6.725, allocations: 31.11 kB / 3.525 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of SimCode: time 1.142e-06/6.725, allocations: 0 / 3.525 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.03644/6.761, allocations: 29.79 MB / 3.555 GB, free: 64.05 MB / 0.5105 GB 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/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