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.002092/0.002092, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.042/2.042, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 98.14 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2927/0.2927, allocations: 43.5 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.074e-05/2.072e-05, allocations: 4.219 kB / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3972, allocations: 58.85 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.137/8.534, allocations: 2.753 GB / 3.219 GB, free: 34.5 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00038/8.535, allocations: 87.45 kB / 3.219 GB, free: 34.46 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 1.675/10.21, allocations: 288.4 MB / 3.501 GB, free: 74.41 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.583e-06/10.21, allocations: 0 / 3.501 GB, free: 74.41 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 3.009e-05/10.21, allocations: 7.375 kB / 3.501 GB, free: 74.41 MB / 0.4952 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.005179/10.22, allocations: 1.198 MB / 3.502 GB, free: 73.78 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/10.22, allocations: 10.12 kB / 3.502 GB, free: 73.78 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001328/10.22, allocations: 121.5 kB / 3.502 GB, free: 73.75 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006757/10.22, allocations: 327.7 kB / 3.502 GB, free: 73.55 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/10.22, allocations: 10.88 kB / 3.502 GB, free: 73.55 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.404e-05/10.22, allocations: 13.31 kB / 3.502 GB, free: 73.55 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005478/10.22, allocations: 214 kB / 3.503 GB, free: 73.54 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005853/10.22, allocations: 304.9 kB / 3.503 GB, free: 73.42 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/10.22, allocations: 6.156 kB / 3.503 GB, free: 73.42 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.716e-05/10.22, allocations: 7.609 kB / 3.503 GB, free: 73.42 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/10.22, allocations: 6.25 kB / 3.503 GB, free: 73.42 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003795/10.22, allocations: 2.289 MB / 3.505 GB, free: 71.7 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004191/10.22, allocations: 125.5 kB / 3.505 GB, free: 71.68 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/10.22, allocations: 47.7 kB / 3.505 GB, free: 71.67 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004955/10.22, allocations: 486.7 kB / 3.506 GB, free: 71.2 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/10.22, allocations: 33.5 kB / 3.506 GB, free: 71.16 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=12): time 2.745e-06/10.22, allocations: 3 kB / 3.506 GB, free: 71.16 MB / 0.4952 GB Notification: Performance of matching and sorting (n=12): time 0.00119/10.22, allocations: 246.5 kB / 3.506 GB, free: 71.12 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.803e-05/10.22, allocations: 116.2 kB / 3.506 GB, free: 70.99 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/10.23, allocations: 218.2 kB / 3.506 GB, free: 70.89 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/10.23, allocations: 32.78 kB / 3.506 GB, free: 70.86 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/10.23, allocations: 263.7 kB / 3.507 GB, free: 70.67 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 3.898e-05/10.23, allocations: 38.02 kB / 3.507 GB, free: 70.65 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.612e-05/10.23, allocations: 0 / 3.507 GB, free: 70.65 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/10.23, allocations: 325.6 kB / 3.507 GB, free: 70.34 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/10.23, allocations: 48.05 kB / 3.507 GB, free: 70.34 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001807/10.23, allocations: 155 kB / 3.507 GB, free: 70.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/10.23, allocations: 80.84 kB / 3.507 GB, free: 70.19 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/10.23, allocations: 3.719 kB / 3.507 GB, free: 70.19 MB / 0.4952 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006255/10.23, allocations: 211.8 kB / 3.507 GB, free: 70.16 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/10.23, allocations: 10.62 kB / 3.507 GB, free: 70.16 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/10.23, allocations: 10.23 kB / 3.507 GB, free: 70.15 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/10.23, allocations: 5.406 kB / 3.507 GB, free: 70.15 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/10.23, allocations: 65.73 kB / 3.508 GB, free: 70.15 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/10.23, allocations: 13.91 kB / 3.508 GB, free: 70.15 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000462/10.23, allocations: 41.7 kB / 3.508 GB, free: 70.14 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.279e-05/10.23, allocations: 15.44 kB / 3.508 GB, free: 70.14 MB / 0.4952 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 0.0001077/10.23, allocations: 115.5 kB / 3.508 GB, free: 70.04 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.052e-05/10.23, allocations: 29.69 kB / 3.508 GB, free: 70.03 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/10.23, allocations: 0.6959 MB / 3.508 GB, free: 69.9 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/10.23, allocations: 13.67 kB / 3.508 GB, free: 69.9 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/10.23, allocations: 0 / 3.508 GB, free: 69.9 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/10.23, allocations: 0 / 3.508 GB, free: 69.9 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006401/10.23, allocations: 469.9 kB / 3.509 GB, free: 69.72 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.778e-06/10.23, allocations: 0 / 3.509 GB, free: 69.72 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/10.23, allocations: 60.25 kB / 3.509 GB, free: 69.72 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/10.23, allocations: 0 / 3.509 GB, free: 69.72 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/10.23, allocations: 3.375 kB / 3.509 GB, free: 69.72 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/10.23, allocations: 3.844 kB / 3.509 GB, free: 69.72 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/10.23, allocations: 7.562 kB / 3.509 GB, free: 69.72 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000667/10.23, allocations: 401.5 kB / 3.509 GB, free: 69.54 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/10.23, allocations: 181.8 kB / 3.51 GB, free: 69.41 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/10.23, allocations: 0 / 3.51 GB, free: 69.41 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004012/10.23, allocations: 28.81 kB / 3.51 GB, free: 69.41 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/10.23, allocations: 18.81 kB / 3.51 GB, free: 69.4 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/10.23, allocations: 5.969 kB / 3.51 GB, free: 69.4 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0003624/10.23, allocations: 279.5 kB / 3.51 GB, free: 69.31 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.3e-07/10.23, allocations: 2.344 kB / 3.51 GB, free: 69.31 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.004341/10.24, allocations: 0.8556 MB / 3.511 GB, free: 69.18 MB / 0.4952 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.008585/10.25, allocations: 1.355 MB / 3.512 GB, free: 68.95 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0005409/10.25, allocations: 183.1 kB / 3.512 GB, free: 68.95 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/10.25, allocations: 0 / 3.512 GB, free: 68.95 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/10.25, allocations: 128.6 kB / 3.512 GB, free: 68.94 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/10.25, allocations: 121 kB / 3.512 GB, free: 68.94 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/10.25, allocations: 0.5596 MB / 3.513 GB, free: 68.71 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/10.25, allocations: 0.8535 MB / 3.514 GB, free: 68.02 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/10.25, allocations: 29.69 kB / 3.514 GB, free: 68.01 MB / 0.4952 GB Notification: Performance of SimCode: time 1.052e-06/10.25, allocations: 0 / 3.514 GB, free: 68.01 MB / 0.4952 GB Notification: Performance of Templates: time 0.04822/10.3, allocations: 22.87 MB / 3.536 GB, free: 66.43 MB / 0.4952 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