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.001467/0.001467, allocations: 110.8 kB / 18.45 MB, free: 4.645 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.001519/0.001519, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.426/1.426, allocations: 222.9 MB / 243.1 MB, free: 15.19 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.2155/0.2155, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 63.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3985, 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.04284/0.4414, allocations: 30.04 MB / 0.5489 GB, free: 12.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02221/0.4637, allocations: 15.51 MB / 0.564 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006711/0.4644, allocations: 7.938 kB / 0.5641 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009934/0.4654, allocations: 222.6 kB / 0.5643 GB, free: 14.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001065/0.4665, allocations: 266.4 kB / 0.5645 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02105/0.4876, allocations: 5.627 MB / 0.57 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.4892, allocations: 0.8109 MB / 0.5708 GB, free: 7.473 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006146/0.4898, allocations: 224.7 kB / 0.571 GB, free: 7.254 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01303/0.5028, allocations: 5.481 MB / 0.5764 GB, free: 1.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005785/0.5035, allocations: 242.9 kB / 0.5766 GB, free: 1.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001292/0.5036, allocations: 28 kB / 0.5766 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01464/0.5182, allocations: 6.072 MB / 0.5826 GB, free: 11.35 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002354/0.5185, allocations: 83.69 kB / 0.5826 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.519, allocations: 195.1 kB / 0.5828 GB, free: 11.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.53, allocations: 3.645 MB / 0.5864 GB, free: 7.422 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.5301, allocations: 4 kB / 0.5864 GB, free: 7.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5301, allocations: 0 / 0.5864 GB, free: 7.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.278e-05/0.5301, allocations: 0 / 0.5864 GB, free: 7.418 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.003097/0.5333, allocations: 0.9939 MB / 0.5874 GB, free: 6.375 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5333, allocations: 12.03 kB / 0.5874 GB, free: 6.363 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.5344, allocations: 112.5 kB / 0.5875 GB, free: 6.254 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006802/0.5351, allocations: 338.5 kB / 0.5878 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.081e-05/0.5351, allocations: 24.94 kB / 0.5878 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.5352, allocations: 28.38 kB / 0.5879 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.5364, allocations: 454.9 kB / 0.5883 GB, free: 5.348 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.5364, allocations: 4 kB / 0.5883 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.5365, allocations: 12 kB / 0.5883 GB, free: 5.332 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.5365, allocations: 4 kB / 0.5883 GB, free: 5.328 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.5376, allocations: 373.2 kB / 0.5887 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.5407, allocations: 2.379 MB / 0.591 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5418, allocations: 278.3 kB / 0.5913 GB, free: 2.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002706/0.5421, allocations: 96.78 kB / 0.5913 GB, free: 1.992 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004253/0.5425, allocations: 493.4 kB / 0.5918 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.877e-05/0.5425, allocations: 34.5 kB / 0.5918 GB, free: 1.375 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.483e-06/0.5425, allocations: 4 kB / 0.5919 GB, free: 1.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.00171/0.5443, allocations: 441.2 kB / 0.5923 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.5443, allocations: 114.7 kB / 0.5924 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003653/0.5447, allocations: 320.5 kB / 0.5927 GB, free: 480 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.5448, allocations: 29.7 kB / 0.5927 GB, free: 444 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.5449, allocations: 207.6 kB / 0.5929 GB, free: 228 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.906e-05/0.545, allocations: 43.39 kB / 0.593 GB, free: 184 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/0.5451, allocations: 57.55 kB / 0.593 GB, free: 120 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5452, allocations: 342.8 kB / 0.5933 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.5455, allocations: 83.92 kB / 0.5934 GB, free: 15.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003656/0.5459, allocations: 207.4 kB / 0.5936 GB, free: 15.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000613/0.5465, allocations: 285.4 kB / 0.5939 GB, free: 15.11 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.5465, allocations: 0 / 0.5939 GB, free: 15.11 MB / 462.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007557/0.5473, allocations: 320.9 kB / 0.5942 GB, free: 14.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.5473, allocations: 8 kB / 0.5942 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.5473, allocations: 0 / 0.5942 GB, free: 14.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.5474, allocations: 8 kB / 0.5942 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002506/0.5476, allocations: 59.89 kB / 0.5943 GB, free: 14.71 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.5476, allocations: 11.94 kB / 0.5943 GB, free: 14.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002591/0.5479, allocations: 51.95 kB / 0.5943 GB, free: 14.65 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.5479, allocations: 15.98 kB / 0.5943 GB, free: 14.63 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.0001749/0.5481, allocations: 149.8 kB / 0.5945 GB, free: 14.48 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.5482, allocations: 27.72 kB / 0.5945 GB, free: 14.45 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001149/0.5494, allocations: 0.7405 MB / 0.5952 GB, free: 13.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.5494, allocations: 7.984 kB / 0.5952 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.5494, allocations: 3.938 kB / 0.5952 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5494, allocations: 0 / 0.5952 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000617/0.55, allocations: 0.5336 MB / 0.5958 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.55, allocations: 0 / 0.5958 GB, free: 13.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.5503, allocations: 51.83 kB / 0.5958 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5503, allocations: 0 / 0.5958 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.5503, allocations: 8 kB / 0.5958 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.5503, allocations: 0 / 0.5958 GB, free: 13.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.5503, allocations: 3.938 kB / 0.5958 GB, free: 13.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007764/0.5511, allocations: 461.6 kB / 0.5963 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.5512, allocations: 116.6 kB / 0.5964 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.5513, allocations: 23.69 kB / 0.5964 GB, free: 12.42 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002099/0.5515, allocations: 15.98 kB / 0.5964 GB, free: 12.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.214e-05/0.5516, allocations: 23.91 kB / 0.5964 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.5516, allocations: 4 kB / 0.5964 GB, free: 12.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003841/0.552, allocations: 346.9 kB / 0.5968 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.552, allocations: 0 / 0.5968 GB, free: 12.04 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002673/0.5547, allocations: 0.8393 MB / 0.5976 GB, free: 11.2 MB / 462.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.004726/0.5595, allocations: 0.987 MB / 0.5986 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007848/0.5603, allocations: 275.7 kB / 0.5988 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5603, allocations: 0 / 0.5988 GB, free: 9.941 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003224/0.5606, allocations: 164.8 kB / 0.599 GB, free: 9.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009986/0.5616, allocations: 178.4 kB / 0.5991 GB, free: 9.613 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.5631, allocations: 0.8599 MB / 0.6 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.5636, allocations: 0.8385 MB / 0.6008 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.178e-05/0.5637, allocations: 35.38 kB / 0.6008 GB, free: 7.82 MB / 462.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5637, allocations: 4 kB / 0.6008 GB, free: 7.816 MB / 462.1 MB Notification: Performance of Templates: time 0.03491/0.5986, allocations: 19.78 MB / 0.6202 GB, free: 4.047 MB / 478.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