Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001202/0.001208, allocations: 178.4 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 225.7 MB / 243.9 MB, free: 8.469 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008414/0.0008415, allocations: 87.62 kB / 295 MB, free: 9.508 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3951/0.3951, allocations: 44.32 MB / 390.5 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003122, allocations: 11.94 kB / 463.1 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.355, allocations: 61.9 MB / 0.5127 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02433/0.3794, allocations: 34.37 MB / 0.5463 GB, free: 11.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01804/0.3975, allocations: 22.34 MB / 0.5681 GB, free: 8.191 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004243/0.398, allocations: 7.094 kB / 0.5681 GB, free: 8.188 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006664/0.3986, allocations: 183.8 kB / 0.5683 GB, free: 8.086 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005713/0.3992, allocations: 259.4 kB / 0.5686 GB, free: 7.93 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01871/0.418, allocations: 4.517 MB / 0.573 GB, free: 5.809 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001707/0.4197, allocations: 1.088 MB / 0.574 GB, free: 5.414 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005066/0.4202, allocations: 197.5 kB / 0.5742 GB, free: 5.34 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01638/0.4366, allocations: 5.408 MB / 0.5795 GB, free: 2.828 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007769/0.4374, allocations: 229.7 kB / 0.5797 GB, free: 2.703 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001466/0.4376, allocations: 21.59 kB / 0.5797 GB, free: 2.695 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/0.453, allocations: 5.789 MB / 0.5854 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.4533, allocations: 71.03 kB / 0.5855 GB, free: 15.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004775/0.4538, allocations: 196.8 kB / 0.5856 GB, free: 15.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.4646, allocations: 3.626 MB / 0.5892 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4647, allocations: 0 / 0.5892 GB, free: 12.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4647, allocations: 0 / 0.5892 GB, free: 12.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4647, allocations: 0 / 0.5892 GB, free: 12.59 MB / 410.7 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.002889/0.4676, allocations: 0.9368 MB / 0.5901 GB, free: 11.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.277e-05/0.4677, allocations: 8.031 kB / 0.5901 GB, free: 11.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009655/0.4687, allocations: 124.4 kB / 0.5902 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004856/0.4692, allocations: 330.5 kB / 0.5905 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.573e-05/0.4692, allocations: 24.94 kB / 0.5906 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.4693, allocations: 24.38 kB / 0.5906 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/0.4704, allocations: 470.9 kB / 0.591 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4705, allocations: 0 / 0.591 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.516e-05/0.4705, allocations: 12 kB / 0.5911 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.4705, allocations: 7.938 kB / 0.5911 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.4717, allocations: 397.3 kB / 0.5914 GB, free: 10.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.4748, allocations: 2.399 MB / 0.5938 GB, free: 7.551 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.4759, allocations: 298.3 kB / 0.5941 GB, free: 7.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.4761, allocations: 108.8 kB / 0.5942 GB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003959/0.4766, allocations: 485.3 kB / 0.5946 GB, free: 6.578 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.4766, allocations: 34.5 kB / 0.5947 GB, free: 6.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.654e-06/0.4766, allocations: 0 / 0.5947 GB, free: 6.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.001655/0.4783, allocations: 0.4931 MB / 0.5951 GB, free: 6.035 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.4783, allocations: 110.8 kB / 0.5953 GB, free: 5.902 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003306/0.4787, allocations: 320.4 kB / 0.5956 GB, free: 5.582 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.4787, allocations: 29.7 kB / 0.5956 GB, free: 5.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001349/0.4788, allocations: 207.6 kB / 0.5958 GB, free: 5.336 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.561e-05/0.4789, allocations: 47.39 kB / 0.5958 GB, free: 5.289 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.4789, allocations: 4 kB / 0.5958 GB, free: 5.285 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.479, allocations: 338.8 kB / 0.5962 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002576/0.4793, allocations: 91.92 kB / 0.5962 GB, free: 4.855 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.4796, allocations: 215.4 kB / 0.5964 GB, free: 4.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005815/0.4802, allocations: 305.8 kB / 0.5967 GB, free: 4.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4802, allocations: 0 / 0.5967 GB, free: 4.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007109/0.481, allocations: 336.8 kB / 0.5971 GB, free: 3.906 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.481, allocations: 8 kB / 0.5971 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.481, allocations: 0 / 0.5971 GB, free: 3.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.481, allocations: 8 kB / 0.5971 GB, free: 3.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002521/0.4813, allocations: 68.36 kB / 0.5971 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.4813, allocations: 19.88 kB / 0.5972 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.4816, allocations: 51.66 kB / 0.5972 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.64e-05/0.4816, allocations: 12 kB / 0.5972 GB, free: 3.742 MB / 410.7 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_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 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.0001596/0.4818, allocations: 158.2 kB / 0.5974 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.818e-05/0.4819, allocations: 31.62 kB / 0.5974 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/0.483, allocations: 0.7718 MB / 0.5982 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.483, allocations: 7.984 kB / 0.5982 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.483, allocations: 3.938 kB / 0.5982 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.483, allocations: 0 / 0.5982 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.4836, allocations: 0.5376 MB / 0.5987 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.4836, allocations: 0 / 0.5987 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002214/0.4838, allocations: 51.95 kB / 0.5987 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.4839, allocations: 0 / 0.5987 GB, free: 2.117 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.4839, allocations: 4 kB / 0.5987 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.4839, allocations: 0 / 0.5987 GB, free: 2.113 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.4839, allocations: 3.938 kB / 0.5988 GB, free: 2.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.4846, allocations: 473.7 kB / 0.5992 GB, free: 1.629 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001637/0.4848, allocations: 192.2 kB / 0.5994 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.618e-05/0.4848, allocations: 4 kB / 0.5994 GB, free: 1.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.4851, allocations: 31.83 kB / 0.5994 GB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/0.4851, allocations: 19.91 kB / 0.5994 GB, free: 1.367 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4852, allocations: 11.94 kB / 0.5995 GB, free: 1.355 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000361/0.4855, allocations: 338.8 kB / 0.5998 GB, free: 1.023 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4855, allocations: 4 kB / 0.5998 GB, free: 1.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002677/0.4882, allocations: 0.8433 MB / 0.6006 GB, free: 180 kB / 410.7 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.00486/0.4931, allocations: 0.985 MB / 0.6016 GB, free: 15.19 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007449/0.4939, allocations: 296.5 kB / 0.6018 GB, free: 14.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4939, allocations: 0 / 0.6018 GB, free: 14.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003086/0.4942, allocations: 171.9 kB / 0.602 GB, free: 14.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009573/0.4952, allocations: 166.2 kB / 0.6022 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.4968, allocations: 1.053 MB / 0.6032 GB, free: 13.49 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.4972, allocations: 0.84 MB / 0.604 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003859/0.4976, allocations: 154.8 kB / 0.6042 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.175e-05/0.4977, allocations: 31.44 kB / 0.6042 GB, free: 12.45 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.4977, allocations: 0 / 0.6042 GB, free: 12.45 MB / 426.7 MB Notification: Performance of Templates: time 0.04705/0.5448, allocations: 33.39 MB / 0.6368 GB, free: 11.09 MB / 458.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches