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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 106.2 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 194.9 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.465/1.465, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2078/0.2078, allocations: 43.52 MB / 314.7 MB, free: 480 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 66.38 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1023, allocations: 57.8 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02828/0.1306, allocations: 30.04 MB / 472 MB, free: 7.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01698/0.1476, allocations: 15.51 MB / 487.5 MB, free: 8.422 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003984/0.1481, allocations: 7.938 kB / 487.5 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006734/0.1488, allocations: 222.5 kB / 487.7 MB, free: 8.195 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006115/0.1494, allocations: 266.5 kB / 488 MB, free: 7.934 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01634/0.1658, allocations: 5.61 MB / 493.6 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001118/0.1669, allocations: 0.8109 MB / 494.4 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003869/0.1673, allocations: 224.7 kB / 494.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01216/0.1795, allocations: 5.475 MB / 0.4884 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005189/0.18, allocations: 235 kB / 0.4886 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.1801, allocations: 28 kB / 0.4886 GB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.191, allocations: 6.076 MB / 0.4946 GB, free: 5.395 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.1912, allocations: 83.73 kB / 0.4947 GB, free: 5.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003117/0.1916, allocations: 187.2 kB / 0.4948 GB, free: 5.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008387/0.2, allocations: 3.633 MB / 0.4984 GB, free: 1.488 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2, allocations: 4 kB / 0.4984 GB, free: 1.484 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.616e-06/0.2, allocations: 0 / 0.4984 GB, free: 1.484 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.206e-06/0.2, allocations: 3.938 kB / 0.4984 GB, free: 1.48 MB / 382.1 MB 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.002329/0.2024, allocations: 1.002 MB / 0.4994 GB, free: 440 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.2024, allocations: 11.89 kB / 0.4994 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008876/0.2033, allocations: 108.5 kB / 0.4995 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005847/0.2039, allocations: 338.5 kB / 0.4998 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.343e-05/0.204, allocations: 24.94 kB / 0.4998 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.088e-05/0.204, allocations: 28.31 kB / 0.4999 GB, free: 15.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.2051, allocations: 458.9 kB / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.2051, allocations: 0 / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.2051, allocations: 19.94 kB / 0.5003 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.2051, allocations: 8 kB / 0.5003 GB, free: 15.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.2062, allocations: 365.2 kB / 0.5007 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002904/0.2091, allocations: 2.364 MB / 0.503 GB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009672/0.2101, allocations: 282.3 kB / 0.5033 GB, free: 12.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/0.2103, allocations: 96.8 kB / 0.5033 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003997/0.2107, allocations: 485.4 kB / 0.5038 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.2108, allocations: 38.55 kB / 0.5038 GB, free: 11.45 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.363e-06/0.2108, allocations: 4 kB / 0.5038 GB, free: 11.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.001624/0.2124, allocations: 445.1 kB / 0.5043 GB, free: 11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.2125, allocations: 114.7 kB / 0.5044 GB, free: 10.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003203/0.2128, allocations: 320.5 kB / 0.5047 GB, free: 10.55 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.2129, allocations: 29.7 kB / 0.5047 GB, free: 10.51 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.213, allocations: 211.6 kB / 0.5049 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.213, allocations: 35.45 kB / 0.505 GB, free: 10.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.2131, allocations: 61.69 kB / 0.505 GB, free: 10.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2133, allocations: 334.8 kB / 0.5053 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.2135, allocations: 83.92 kB / 0.5054 GB, free: 9.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.2138, allocations: 208.7 kB / 0.5056 GB, free: 9.523 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.2144, allocations: 289.7 kB / 0.5059 GB, free: 9.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2144, allocations: 0 / 0.5059 GB, free: 9.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006721/0.2151, allocations: 316.9 kB / 0.5062 GB, free: 8.875 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.2151, allocations: 8 kB / 0.5062 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2151, allocations: 4.469 kB / 0.5062 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2151, allocations: 8 kB / 0.5062 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.2154, allocations: 67.89 kB / 0.5063 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.2154, allocations: 15.88 kB / 0.5063 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.2157, allocations: 39.67 kB / 0.5063 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.66e-05/0.2157, allocations: 15.98 kB / 0.5063 GB, free: 8.719 MB / 398.1 MB 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_2.medium.phase,boundary_prescriberho_1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/0.2159, allocations: 149.7 kB / 0.5065 GB, free: 8.562 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.2159, allocations: 35.62 kB / 0.5065 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/0.217, allocations: 0.7444 MB / 0.5072 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.217, allocations: 7.984 kB / 0.5073 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.217, allocations: 7.938 kB / 0.5073 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.217, allocations: 0 / 0.5073 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.2175, allocations: 0.5298 MB / 0.5078 GB, free: 7.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2175, allocations: 3.984 kB / 0.5078 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.2177, allocations: 43.89 kB / 0.5078 GB, free: 7.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.2177, allocations: 4 kB / 0.5078 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.2177, allocations: 0 / 0.5078 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2177, allocations: 0 / 0.5078 GB, free: 7.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.2178, allocations: 7.938 kB / 0.5078 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006437/0.2184, allocations: 457.7 kB / 0.5083 GB, free: 6.652 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.876e-05/0.2185, allocations: 112.6 kB / 0.5084 GB, free: 6.523 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.2186, allocations: 23.69 kB / 0.5084 GB, free: 6.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.2188, allocations: 23.97 kB / 0.5084 GB, free: 6.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.2189, allocations: 19.92 kB / 0.5084 GB, free: 6.457 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.2189, allocations: 7.984 kB / 0.5084 GB, free: 6.449 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000356/0.2192, allocations: 342.8 kB / 0.5088 GB, free: 6.113 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.2192, allocations: 0 / 0.5088 GB, free: 6.113 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002162/0.2214, allocations: 0.8433 MB / 0.5096 GB, free: 5.27 MB / 398.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003381/0.2248, allocations: 0.9864 MB / 0.5106 GB, free: 4.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0007192/0.2255, allocations: 268.5 kB / 0.5108 GB, free: 4.02 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.2256, allocations: 8 kB / 0.5108 GB, free: 4.012 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.2258, allocations: 159.9 kB / 0.511 GB, free: 3.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009116/0.2268, allocations: 183.3 kB / 0.5112 GB, free: 3.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.228, allocations: 0.8464 MB / 0.512 GB, free: 2.805 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2284, allocations: 0.8424 MB / 0.5128 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002848/0.2287, allocations: 139.4 kB / 0.5129 GB, free: 1.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.219e-05/0.2288, allocations: 35.42 kB / 0.513 GB, free: 1.77 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2288, allocations: 4 kB / 0.513 GB, free: 1.766 MB / 398.1 MB Notification: Performance of Templates: time 0.2284/0.4572, allocations: 33.68 MB / 0.5459 GB, free: 87.66 MB / 414.1 MB 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches