Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009763/0.0009763, allocations: 200.1 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 229.5 MB / 247.7 MB, free: 6.34 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007431/0.0007431, allocations: 104.5 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3788/0.3788, allocations: 45.01 MB / 397 MB, free: 31.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.0002731, allocations: 8 kB / 470.8 MB, free: 7.113 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3055, allocations: 63.1 MB / 0.5214 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.02309/0.3286, allocations: 34.73 MB / 0.5553 GB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01937/0.348, allocations: 22.43 MB / 0.5772 GB, free: 7.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.3485, allocations: 9.812 kB / 0.5772 GB, free: 7.746 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006472/0.3492, allocations: 185 kB / 0.5774 GB, free: 7.594 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006691/0.3498, allocations: 258.3 kB / 0.5776 GB, free: 7.383 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01569/0.3655, allocations: 4.513 MB / 0.582 GB, free: 4.051 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001646/0.3672, allocations: 1.104 MB / 0.5831 GB, free: 3.441 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005305/0.3678, allocations: 185.1 kB / 0.5833 GB, free: 3.332 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01369/0.3815, allocations: 5.408 MB / 0.5886 GB, free: 15.14 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.382, allocations: 242.9 kB / 0.5888 GB, free: 14.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 9.935e-05/0.3822, allocations: 15.94 kB / 0.5888 GB, free: 14.88 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01285/0.395, allocations: 5.803 MB / 0.5945 GB, free: 9.074 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002386/0.3953, allocations: 71.72 kB / 0.5946 GB, free: 9.004 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004383/0.3958, allocations: 196.8 kB / 0.5947 GB, free: 8.805 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00881/0.4046, allocations: 3.641 MB / 0.5983 GB, free: 5.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4047, allocations: 0 / 0.5983 GB, free: 5.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4047, allocations: 0 / 0.5983 GB, free: 5.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.408e-05/0.4047, allocations: 0 / 0.5983 GB, free: 5.156 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.002246/0.4069, allocations: 0.9395 MB / 0.5992 GB, free: 4.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.407, allocations: 8.031 kB / 0.5992 GB, free: 4.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000992/0.408, allocations: 128.5 kB / 0.5993 GB, free: 4.035 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004415/0.4085, allocations: 326.6 kB / 0.5997 GB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.4085, allocations: 28.94 kB / 0.5997 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.758e-05/0.4085, allocations: 24.38 kB / 0.5997 GB, free: 3.625 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.4096, allocations: 474.8 kB / 0.6002 GB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4097, allocations: 0 / 0.6002 GB, free: 3.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/0.4097, allocations: 12 kB / 0.6002 GB, free: 3.113 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.4097, allocations: 8 kB / 0.6002 GB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.4108, allocations: 389.3 kB / 0.6006 GB, free: 2.723 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002939/0.4137, allocations: 2.399 MB / 0.6029 GB, free: 112 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009871/0.4147, allocations: 314.3 kB / 0.6032 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.415, allocations: 104.8 kB / 0.6033 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004035/0.4154, allocations: 485 kB / 0.6038 GB, free: 15.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.4154, allocations: 38.5 kB / 0.6038 GB, free: 15.08 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 1.412e-06/0.4155, allocations: 0 / 0.6038 GB, free: 15.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.00164/0.4171, allocations: 497.5 kB / 0.6043 GB, free: 14.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.4172, allocations: 110.8 kB / 0.6044 GB, free: 14.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.4175, allocations: 320.4 kB / 0.6047 GB, free: 14.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.628e-05/0.4176, allocations: 29.69 kB / 0.6047 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.4177, allocations: 207.6 kB / 0.6049 GB, free: 13.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.4178, allocations: 35.45 kB / 0.6049 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.4178, allocations: 8 kB / 0.6049 GB, free: 13.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4179, allocations: 338.8 kB / 0.6053 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/0.4182, allocations: 95.92 kB / 0.6054 GB, free: 13.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/0.4185, allocations: 212.7 kB / 0.6056 GB, free: 13.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005556/0.4191, allocations: 305.5 kB / 0.6059 GB, free: 12.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4191, allocations: 0 / 0.6059 GB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007043/0.4198, allocations: 341.1 kB / 0.6062 GB, free: 12.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.4198, allocations: 8 kB / 0.6062 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.4198, allocations: 4 kB / 0.6062 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.4199, allocations: 4 kB / 0.6062 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000281/0.4202, allocations: 75.83 kB / 0.6063 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.4202, allocations: 7.938 kB / 0.6063 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.4204, allocations: 59.78 kB / 0.6063 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.4205, allocations: 15.98 kB / 0.6063 GB, free: 12.29 MB / 426.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.0001614/0.4207, allocations: 149.7 kB / 0.6065 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.4207, allocations: 39.61 kB / 0.6065 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001077/0.4218, allocations: 0.764 MB / 0.6073 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4218, allocations: 7.984 kB / 0.6073 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4218, allocations: 11.88 kB / 0.6073 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4218, allocations: 0 / 0.6073 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005421/0.4224, allocations: 0.5298 MB / 0.6078 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4224, allocations: 0 / 0.6078 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001999/0.4226, allocations: 47.95 kB / 0.6079 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4226, allocations: 8 kB / 0.6079 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.4226, allocations: 0 / 0.6079 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.973e-06/0.4226, allocations: 0 / 0.6079 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.4227, allocations: 7.875 kB / 0.6079 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006655/0.4233, allocations: 473.7 kB / 0.6083 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.4235, allocations: 188.2 kB / 0.6085 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.354e-05/0.4236, allocations: 0 / 0.6085 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002277/0.4238, allocations: 39.81 kB / 0.6085 GB, free: 9.938 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.611e-05/0.4239, allocations: 19.91 kB / 0.6086 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.4239, allocations: 8 kB / 0.6086 GB, free: 9.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003709/0.4243, allocations: 334.9 kB / 0.6089 GB, free: 9.582 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4243, allocations: 0 / 0.6089 GB, free: 9.582 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002383/0.4267, allocations: 0.8395 MB / 0.6097 GB, free: 8.742 MB / 426.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.004086/0.4308, allocations: 1.011 MB / 0.6107 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006976/0.4315, allocations: 288.6 kB / 0.611 GB, free: 7.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4315, allocations: 0 / 0.611 GB, free: 7.449 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.4318, allocations: 175.9 kB / 0.6111 GB, free: 7.277 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009209/0.4327, allocations: 173.1 kB / 0.6113 GB, free: 7.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.4341, allocations: 1.05 MB / 0.6123 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.4345, allocations: 0.85 MB / 0.6132 GB, free: 5.156 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003547/0.4349, allocations: 150.7 kB / 0.6133 GB, free: 5.012 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.435, allocations: 27.44 kB / 0.6133 GB, free: 4.984 MB / 426.7 MB Notification: Performance of SimCode: time 3.61e-07/0.435, allocations: 0 / 0.6133 GB, free: 4.984 MB / 426.7 MB Notification: Performance of Templates: time 0.0429/0.4779, allocations: 33.45 MB / 0.646 GB, free: 3.57 MB / 458.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches