Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001113/0.001114, allocations: 110.8 kB / 18.46 MB, free: 4.594 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.001164/0.001164, allocations: 183 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 243.1 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2257/0.2257, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 63.89 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3622, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03321/0.3955, allocations: 30.04 MB / 0.5489 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01922/0.4147, allocations: 15.51 MB / 0.5641 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00062/0.4154, allocations: 7.938 kB / 0.5641 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008789/0.4163, allocations: 214.6 kB / 0.5643 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007531/0.4171, allocations: 278.4 kB / 0.5645 GB, free: 13.88 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01761/0.4347, allocations: 5.631 MB / 0.57 GB, free: 8.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.4359, allocations: 0.8109 MB / 0.5708 GB, free: 7.438 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.4362, allocations: 236.6 kB / 0.5711 GB, free: 7.207 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01298/0.4492, allocations: 5.478 MB / 0.5764 GB, free: 1.648 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007504/0.45, allocations: 239 kB / 0.5766 GB, free: 1.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.941e-05/0.4501, allocations: 28 kB / 0.5767 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01312/0.4633, allocations: 6.072 MB / 0.5826 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.4635, allocations: 87.73 kB / 0.5827 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002949/0.4638, allocations: 191.1 kB / 0.5829 GB, free: 11.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008802/0.4726, allocations: 3.656 MB / 0.5864 GB, free: 7.371 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4727, allocations: 0 / 0.5864 GB, free: 7.371 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4727, allocations: 0 / 0.5864 GB, free: 7.371 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.408e-06/0.4727, allocations: 4 kB / 0.5864 GB, free: 7.367 MB / 446.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.002355/0.475, allocations: 1.018 MB / 0.5874 GB, free: 6.297 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.4751, allocations: 8.031 kB / 0.5874 GB, free: 6.289 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008978/0.476, allocations: 112.6 kB / 0.5875 GB, free: 6.18 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006001/0.4766, allocations: 338.7 kB / 0.5879 GB, free: 5.809 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.966e-05/0.4767, allocations: 28.94 kB / 0.5879 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.4767, allocations: 24.38 kB / 0.5879 GB, free: 5.758 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.4778, allocations: 458.8 kB / 0.5884 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4778, allocations: 4 kB / 0.5884 GB, free: 5.266 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.4779, allocations: 12 kB / 0.5884 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.4779, allocations: 7.938 kB / 0.5884 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.4789, allocations: 369.3 kB / 0.5887 GB, free: 4.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002836/0.4818, allocations: 2.395 MB / 0.5911 GB, free: 2.277 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009849/0.4828, allocations: 278.3 kB / 0.5913 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.483, allocations: 92.78 kB / 0.5914 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000419/0.4835, allocations: 489.4 kB / 0.5919 GB, free: 1.332 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.4835, allocations: 34.56 kB / 0.5919 GB, free: 1.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.986e-06/0.4835, allocations: 0 / 0.5919 GB, free: 1.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.001644/0.4852, allocations: 453.3 kB / 0.5924 GB, free: 0.8398 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.368e-05/0.4852, allocations: 106.8 kB / 0.5925 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.4856, allocations: 324.5 kB / 0.5928 GB, free: 388 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.4856, allocations: 25.7 kB / 0.5928 GB, free: 356 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.4858, allocations: 220 kB / 0.593 GB, free: 128 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.037e-05/0.4859, allocations: 43.58 kB / 0.593 GB, free: 84 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.881e-05/0.486, allocations: 57.7 kB / 0.5931 GB, free: 20 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4861, allocations: 342.8 kB / 0.5934 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.4864, allocations: 79.94 kB / 0.5935 GB, free: 15.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003522/0.4868, allocations: 211.3 kB / 0.5937 GB, free: 15.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006169/0.4874, allocations: 281.5 kB / 0.594 GB, free: 15.01 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4874, allocations: 0 / 0.594 GB, free: 15.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007487/0.4882, allocations: 320.9 kB / 0.5943 GB, free: 14.69 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4882, allocations: 8 kB / 0.5943 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4882, allocations: 4 kB / 0.5943 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/0.4882, allocations: 4 kB / 0.5943 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002756/0.4885, allocations: 64.36 kB / 0.5943 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.845e-05/0.4886, allocations: 15.94 kB / 0.5944 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002647/0.4888, allocations: 47.7 kB / 0.5944 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.4889, allocations: 8 kB / 0.5944 GB, free: 14.54 MB / 462.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.0001895/0.4891, allocations: 153.8 kB / 0.5946 GB, free: 14.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.354e-05/0.4891, allocations: 31.81 kB / 0.5946 GB, free: 14.35 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.4903, allocations: 0.7487 MB / 0.5953 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4903, allocations: 0 / 0.5953 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.4903, allocations: 0 / 0.5953 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4904, allocations: 124.6 kB / 0.5954 GB, free: 13.45 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.4905, allocations: 27.78 kB / 0.5955 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.4907, allocations: 31.95 kB / 0.5955 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.115e-05/0.4908, allocations: 15.98 kB / 0.5955 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007722/0.4916, allocations: 420.2 kB / 0.5959 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00092/0.4925, allocations: 0.5289 MB / 0.5964 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002838/0.4928, allocations: 163.9 kB / 0.5966 GB, free: 12.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003619/0.4932, allocations: 342.9 kB / 0.5969 GB, free: 11.92 MB / 462.1 MB Notification: Performance of Backend: time 6.31e-07/0.4932, allocations: 3.938 kB / 0.5969 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005531/0.4987, allocations: 1.282 MB / 0.5982 GB, free: 10.64 MB / 462.1 MB Notification: Performance of SimCode: time 0.001713/0.5005, allocations: 1.293 MB / 0.5994 GB, free: 9.301 MB / 462.1 MB Notification: Performance of Templates: time 0.05212/0.5526, allocations: 36.67 MB / 0.6352 GB, free: 4.668 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches