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.001239/0.001239, allocations: 106.4 kB / 17.33 MB, free: 5.984 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.001368/0.001368, allocations: 193.3 kB / 18.25 MB, free: 5.074 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.513/1.513, allocations: 222.9 MB / 241.9 MB, free: 15.44 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.1998/0.1998, allocations: 44.17 MB / 336.2 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 69.3 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1169, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03117/0.1481, allocations: 30.12 MB / 498.8 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01949/0.1676, allocations: 15.59 MB / 0.5024 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/0.1681, allocations: 11.94 kB / 0.5024 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008351/0.169, allocations: 194.9 kB / 0.5026 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007099/0.1698, allocations: 254.6 kB / 0.5028 GB, free: 412 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2419/0.4117, allocations: 4.962 MB / 0.5077 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.4129, allocations: 0.8142 MB / 0.5085 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.4134, allocations: 227.6 kB / 0.5087 GB, free: 11.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01137/0.4248, allocations: 5.452 MB / 0.514 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005262/0.4253, allocations: 241.9 kB / 0.5142 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.162e-05/0.4254, allocations: 29.53 kB / 0.5143 GB, free: 9.727 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01164/0.437, allocations: 5.99 MB / 0.5201 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.4373, allocations: 93.3 kB / 0.5202 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000396/0.4377, allocations: 188.9 kB / 0.5204 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008203/0.4459, allocations: 3.669 MB / 0.524 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4459, allocations: 3 kB / 0.524 GB, free: 8.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4459, allocations: 0 / 0.524 GB, free: 8.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.814e-06/0.4459, allocations: 0 / 0.524 GB, free: 8.672 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.002566/0.4485, allocations: 0.9855 MB / 0.5249 GB, free: 7.977 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.4486, allocations: 11.22 kB / 0.5249 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009069/0.4495, allocations: 110.3 kB / 0.525 GB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.4498, allocations: 328.1 kB / 0.5254 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/0.4499, allocations: 25.25 kB / 0.5254 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.4499, allocations: 21.31 kB / 0.5254 GB, free: 7.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001035/0.451, allocations: 462.2 kB / 0.5258 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.451, allocations: 0 / 0.5258 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.451, allocations: 17.88 kB / 0.5259 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.451, allocations: 6.688 kB / 0.5259 GB, free: 7.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009597/0.452, allocations: 365.7 kB / 0.5262 GB, free: 7.359 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002429/0.4545, allocations: 2.389 MB / 0.5285 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.4554, allocations: 275.8 kB / 0.5288 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.4557, allocations: 99.59 kB / 0.5289 GB, free: 5.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000286/0.456, allocations: 485 kB / 0.5294 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.036e-05/0.456, allocations: 36.59 kB / 0.5294 GB, free: 4.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.753e-06/0.456, allocations: 4 kB / 0.5294 GB, free: 4.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001534/0.4576, allocations: 449.5 kB / 0.5298 GB, free: 4.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.4576, allocations: 105.6 kB / 0.5299 GB, free: 4.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.4579, allocations: 322.4 kB / 0.5302 GB, free: 4.246 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.4579, allocations: 27.73 kB / 0.5303 GB, free: 4.215 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.534e-05/0.458, allocations: 212.3 kB / 0.5305 GB, free: 4.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.458, allocations: 38.22 kB / 0.5305 GB, free: 4.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.848e-05/0.4581, allocations: 54.34 kB / 0.5306 GB, free: 4.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.592e-05/0.4582, allocations: 342.7 kB / 0.5309 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.4585, allocations: 84.11 kB / 0.531 GB, free: 3.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.4587, allocations: 215.6 kB / 0.5312 GB, free: 3.5 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.4592, allocations: 280.4 kB / 0.5314 GB, free: 3.336 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4593, allocations: 0 / 0.5314 GB, free: 3.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006766/0.4599, allocations: 319.1 kB / 0.5317 GB, free: 3.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.46, allocations: 7.938 kB / 0.5317 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.46, allocations: 2.594 kB / 0.5317 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.46, allocations: 5.469 kB / 0.5318 GB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.4603, allocations: 65.23 kB / 0.5318 GB, free: 3.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.4603, allocations: 12.19 kB / 0.5318 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002583/0.4605, allocations: 57.53 kB / 0.5319 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.403e-05/0.4606, allocations: 13.28 kB / 0.5319 GB, free: 3.195 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.0001341/0.4607, allocations: 151.1 kB / 0.532 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.849e-05/0.4608, allocations: 25.16 kB / 0.5321 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009978/0.4618, allocations: 0.7464 MB / 0.5328 GB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4618, allocations: 9.672 kB / 0.5328 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4618, allocations: 7.938 kB / 0.5328 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4618, allocations: 0 / 0.5328 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.4623, allocations: 0.5319 MB / 0.5333 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4623, allocations: 0 / 0.5333 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002124/0.4626, allocations: 45.33 kB / 0.5334 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.4626, allocations: 3.938 kB / 0.5334 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4626, allocations: 7.188 kB / 0.5334 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.4626, allocations: 0 / 0.5334 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.4626, allocations: 6 kB / 0.5334 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006309/0.4632, allocations: 457.9 kB / 0.5338 GB, free: 2.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.716e-05/0.4633, allocations: 115.2 kB / 0.5339 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.4634, allocations: 24.28 kB / 0.534 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.4637, allocations: 25.02 kB / 0.534 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.064e-05/0.4637, allocations: 24.12 kB / 0.534 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.4637, allocations: 4.688 kB / 0.534 GB, free: 2.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003283/0.4641, allocations: 344.2 kB / 0.5343 GB, free: 1.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4641, allocations: 0 / 0.5343 GB, free: 1.992 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003052/0.4671, allocations: 0.8393 MB / 0.5352 GB, free: 1.887 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.005494/0.4726, allocations: 0.9979 MB / 0.5361 GB, free: 1.574 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006898/0.4733, allocations: 276 kB / 0.5364 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4734, allocations: 0 / 0.5364 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000264/0.4736, allocations: 165.4 kB / 0.5366 GB, free: 1.504 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00098/0.4746, allocations: 181.8 kB / 0.5367 GB, free: 1.438 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.476, allocations: 1.016 MB / 0.5377 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.4763, allocations: 0.846 MB / 0.5385 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000383/0.4767, allocations: 140.7 kB / 0.5387 GB, free: 15.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.514e-05/0.4768, allocations: 31.16 kB / 0.5387 GB, free: 15.98 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4768, allocations: 0 / 0.5387 GB, free: 15.98 MB / 398.1 MB Notification: Performance of Templates: time 0.04798/0.5248, allocations: 33.69 MB / 0.5716 GB, free: 14.62 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