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.001488/0.001488, allocations: 108.1 kB / 17.21 MB, free: 6.293 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.00113/0.00113, allocations: 194 kB / 18.12 MB, free: 5.383 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.428/1.428, allocations: 222.9 MB / 241.8 MB, free: 15.36 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.2256/0.2256, allocations: 44.18 MB / 336.1 MB, free: 2.992 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 64.44 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1537, allocations: 60.84 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03342/0.1872, allocations: 30.86 MB / 499.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3066/0.4939, allocations: 16.48 MB / 0.5038 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.4943, allocations: 13.16 kB / 0.5038 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006964/0.4951, allocations: 186.8 kB / 0.504 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000578/0.4957, allocations: 257.3 kB / 0.5042 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.5103, allocations: 4.509 MB / 0.5086 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001692/0.512, allocations: 1.092 MB / 0.5097 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003979/0.5124, allocations: 194.3 kB / 0.5099 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.525, allocations: 5.41 MB / 0.5152 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000628/0.5256, allocations: 236.5 kB / 0.5154 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.975e-05/0.5257, allocations: 17.84 kB / 0.5154 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01389/0.5396, allocations: 6.009 MB / 0.5213 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002091/0.5398, allocations: 75.11 kB / 0.5213 GB, free: 9.645 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004575/0.5403, allocations: 175.1 kB / 0.5215 GB, free: 9.633 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009355/0.5497, allocations: 3.639 MB / 0.5251 GB, free: 8.133 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.5497, allocations: 2 kB / 0.5251 GB, free: 8.133 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5497, allocations: 0 / 0.5251 GB, free: 8.133 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.5497, allocations: 0 / 0.5251 GB, free: 8.133 MB / 382.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.002537/0.5523, allocations: 1.006 MB / 0.5261 GB, free: 7.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.5523, allocations: 14.81 kB / 0.5261 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00087/0.5532, allocations: 107 kB / 0.5262 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003284/0.5535, allocations: 326 kB / 0.5265 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.962e-05/0.5536, allocations: 23.47 kB / 0.5265 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.511e-05/0.5536, allocations: 27.34 kB / 0.5265 GB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001003/0.5546, allocations: 458.5 kB / 0.527 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.5547, allocations: 3.094 kB / 0.527 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.5547, allocations: 9.875 kB / 0.527 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.465e-06/0.5547, allocations: 8.219 kB / 0.527 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000991/0.5557, allocations: 368.4 kB / 0.5273 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.5582, allocations: 2.381 MB / 0.5297 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000915/0.5591, allocations: 283.2 kB / 0.5299 GB, free: 4.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.5594, allocations: 90.58 kB / 0.53 GB, free: 4.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003026/0.5597, allocations: 489.3 kB / 0.5305 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.5597, allocations: 34.31 kB / 0.5305 GB, free: 4.125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.593e-06/0.5597, allocations: 0 / 0.5305 GB, free: 4.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00158/0.5613, allocations: 447.3 kB / 0.5309 GB, free: 3.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.5614, allocations: 107.5 kB / 0.531 GB, free: 3.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.5617, allocations: 332.8 kB / 0.5314 GB, free: 3.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.5617, allocations: 28.73 kB / 0.5314 GB, free: 3.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.5618, allocations: 210.5 kB / 0.5316 GB, free: 3.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.5619, allocations: 41.11 kB / 0.5316 GB, free: 3.488 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.933e-05/0.5619, allocations: 55.22 kB / 0.5317 GB, free: 3.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/0.562, allocations: 337.4 kB / 0.532 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.5623, allocations: 82.62 kB / 0.5321 GB, free: 3.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.5626, allocations: 208.5 kB / 0.5323 GB, free: 2.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/0.5631, allocations: 282.7 kB / 0.5326 GB, free: 2.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.5631, allocations: 0 / 0.5326 GB, free: 2.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006528/0.5637, allocations: 315.4 kB / 0.5329 GB, free: 2.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5638, allocations: 13.27 kB / 0.5329 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5638, allocations: 3.031 kB / 0.5329 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5638, allocations: 5.406 kB / 0.5329 GB, free: 2.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002353/0.564, allocations: 69.95 kB / 0.5329 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.5641, allocations: 9.25 kB / 0.533 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002549/0.5643, allocations: 47.08 kB / 0.533 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.499e-05/0.5643, allocations: 13.25 kB / 0.533 GB, free: 2.656 MB / 382.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.0001283/0.5645, allocations: 158.5 kB / 0.5332 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.5645, allocations: 28.34 kB / 0.5332 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009438/0.5655, allocations: 0.7508 MB / 0.5339 GB, free: 2.289 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.5655, allocations: 9.891 kB / 0.5339 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.5655, allocations: 3.938 kB / 0.5339 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5655, allocations: 0 / 0.5339 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.566, allocations: 0.523 MB / 0.5344 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.566, allocations: 0 / 0.5344 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.5662, allocations: 51.09 kB / 0.5345 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.5662, allocations: 4 kB / 0.5345 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5662, allocations: 5.594 kB / 0.5345 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5662, allocations: 0 / 0.5345 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.5662, allocations: 7.938 kB / 0.5345 GB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005948/0.5668, allocations: 461.5 kB / 0.5349 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.5669, allocations: 121.8 kB / 0.5351 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.771e-05/0.567, allocations: 20.81 kB / 0.5351 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.5672, allocations: 24.12 kB / 0.5351 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.206e-05/0.5673, allocations: 20.5 kB / 0.5351 GB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.5673, allocations: 7.312 kB / 0.5351 GB, free: 1.578 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003112/0.5676, allocations: 338.7 kB / 0.5355 GB, free: 1.449 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5676, allocations: 4 kB / 0.5355 GB, free: 1.445 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002973/0.5706, allocations: 0.8471 MB / 0.5363 GB, free: 1.332 MB / 382.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.00378/0.5744, allocations: 0.9859 MB / 0.5373 GB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.5751, allocations: 270 kB / 0.5375 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5751, allocations: 0 / 0.5375 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002756/0.5754, allocations: 165.2 kB / 0.5377 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009506/0.5763, allocations: 169.4 kB / 0.5378 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5775, allocations: 1.006 MB / 0.5388 GB, free: 248 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.5779, allocations: 0.8411 MB / 0.5396 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003164/0.5782, allocations: 149.8 kB / 0.5398 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.5783, allocations: 26.94 kB / 0.5398 GB, free: 15.41 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5783, allocations: 2.656 kB / 0.5398 GB, free: 15.41 MB / 398.1 MB Notification: Performance of Templates: time 0.04657/0.6248, allocations: 33.43 MB / 0.5724 GB, free: 14.25 MB / 430.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/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