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.001363/0.001363, allocations: 109.5 kB / 18.45 MB, free: 4.613 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.001428/0.001428, allocations: 176.3 kB / 19.38 MB, free: 3.695 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.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.16 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.2233/0.2233, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 55.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3107/0.312, allocations: 60.83 MB / 0.5196 GB, free: 3.582 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02948/0.3415, allocations: 30.03 MB / 0.5489 GB, free: 12.36 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01682/0.3584, allocations: 15.51 MB / 0.5641 GB, free: 14.37 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003147/0.3588, allocations: 11.94 kB / 0.5641 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006308/0.3594, allocations: 222.5 kB / 0.5643 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005618/0.36, allocations: 274.4 kB / 0.5645 GB, free: 13.87 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01559/0.3756, allocations: 5.63 MB / 0.57 GB, free: 8.246 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001254/0.3769, allocations: 0.8186 MB / 0.5708 GB, free: 7.426 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004838/0.3774, allocations: 228.6 kB / 0.5711 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01142/0.3888, allocations: 5.482 MB / 0.5764 GB, free: 1.641 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000411/0.3892, allocations: 227 kB / 0.5766 GB, free: 1.418 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.036e-05/0.3893, allocations: 36 kB / 0.5767 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01157/0.4009, allocations: 6.076 MB / 0.5826 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002096/0.4011, allocations: 79.75 kB / 0.5827 GB, free: 11.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002983/0.4014, allocations: 195.1 kB / 0.5829 GB, free: 11.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008235/0.4097, allocations: 3.656 MB / 0.5864 GB, free: 7.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4097, allocations: 0 / 0.5864 GB, free: 7.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4097, allocations: 0 / 0.5864 GB, free: 7.367 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.4097, allocations: 4 kB / 0.5864 GB, free: 7.363 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.00265/0.4124, allocations: 1.018 MB / 0.5874 GB, free: 6.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.4124, allocations: 8.031 kB / 0.5874 GB, free: 6.285 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009723/0.4134, allocations: 112.6 kB / 0.5875 GB, free: 6.176 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.4141, allocations: 346.7 kB / 0.5879 GB, free: 5.797 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.4141, allocations: 20.94 kB / 0.5879 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.101e-05/0.4142, allocations: 24.38 kB / 0.5879 GB, free: 5.754 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001418/0.4156, allocations: 462.9 kB / 0.5884 GB, free: 5.262 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.4156, allocations: 3.938 kB / 0.5884 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/0.4157, allocations: 12 kB / 0.5884 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.4157, allocations: 8 kB / 0.5884 GB, free: 5.238 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001792/0.4175, allocations: 365.3 kB / 0.5887 GB, free: 4.883 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/0.4221, allocations: 2.395 MB / 0.5911 GB, free: 2.273 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.4237, allocations: 274.3 kB / 0.5913 GB, free: 1.996 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004379/0.4242, allocations: 92.8 kB / 0.5914 GB, free: 1.902 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006099/0.4248, allocations: 485.4 kB / 0.5919 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.839e-05/0.425, allocations: 38.56 kB / 0.5919 GB, free: 1.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 2.245e-06/0.425, allocations: 0 / 0.5919 GB, free: 1.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.002772/0.4277, allocations: 449.3 kB / 0.5923 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.032e-05/0.4278, allocations: 118.7 kB / 0.5925 GB, free: 0.7031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006327/0.4285, allocations: 312.5 kB / 0.5928 GB, free: 392 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.557e-05/0.4286, allocations: 33.7 kB / 0.5928 GB, free: 352 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000219/0.4288, allocations: 208 kB / 0.593 GB, free: 136 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.18e-05/0.4289, allocations: 51.58 kB / 0.593 GB, free: 84 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/0.429, allocations: 49.7 kB / 0.5931 GB, free: 28 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.4292, allocations: 342.9 kB / 0.5934 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.4296, allocations: 83.94 kB / 0.5935 GB, free: 15.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.4302, allocations: 203.4 kB / 0.5937 GB, free: 15.34 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/0.4312, allocations: 281.4 kB / 0.5939 GB, free: 15.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.4312, allocations: 4 kB / 0.594 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001238/0.4325, allocations: 321.8 kB / 0.5943 GB, free: 14.7 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.4325, allocations: 4 kB / 0.5943 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.4325, allocations: 4 kB / 0.5943 GB, free: 14.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.4326, allocations: 4 kB / 0.5943 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.433, allocations: 67.89 kB / 0.5943 GB, free: 14.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.453e-05/0.433, allocations: 15.86 kB / 0.5944 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.4335, allocations: 47.72 kB / 0.5944 GB, free: 14.55 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.4335, allocations: 24.02 kB / 0.5944 GB, free: 14.53 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.0003083/0.4339, allocations: 157.8 kB / 0.5946 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.434, allocations: 27.81 kB / 0.5946 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/0.4352, allocations: 0.7371 MB / 0.5953 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.4352, allocations: 3.984 kB / 0.5953 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4352, allocations: 0 / 0.5953 GB, free: 13.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.4354, allocations: 132.6 kB / 0.5954 GB, free: 13.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.309e-05/0.4354, allocations: 19.78 kB / 0.5955 GB, free: 13.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003771/0.4358, allocations: 31.95 kB / 0.5955 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.279e-05/0.4359, allocations: 15.98 kB / 0.5955 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007707/0.4367, allocations: 424.1 kB / 0.5959 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000846/0.4375, allocations: 0.5328 MB / 0.5964 GB, free: 12.41 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003032/0.4379, allocations: 163.9 kB / 0.5966 GB, free: 12.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003866/0.4383, allocations: 338.9 kB / 0.5969 GB, free: 11.91 MB / 462.1 MB Notification: Performance of Backend: time 5.01e-07/0.4383, allocations: 7.938 kB / 0.5969 GB, free: 11.91 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005697/0.444, allocations: 1.267 MB / 0.5982 GB, free: 10.64 MB / 462.1 MB Notification: Performance of SimCode: time 0.001864/0.4459, allocations: 1.297 MB / 0.5994 GB, free: 9.309 MB / 462.1 MB Notification: Performance of Templates: time 0.05677/0.5026, allocations: 36.67 MB / 0.6352 GB, free: 4.676 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