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.001147/0.001147, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001209/0.001208, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.373/1.373, allocations: 222.9 MB / 243 MB, free: 15.08 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.2064/0.2064, allocations: 44.19 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 64.12 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1701, allocations: 60.84 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.05292/0.2231, allocations: 30.03 MB / 0.489 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3119/0.535, allocations: 15.51 MB / 0.5042 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006261/0.5357, allocations: 8.812 kB / 0.5042 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.5368, allocations: 219.1 kB / 0.5044 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.5378, allocations: 268.9 kB / 0.5046 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01765/0.5555, allocations: 5.612 MB / 0.5101 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001277/0.5568, allocations: 0.8113 MB / 0.5109 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003955/0.5572, allocations: 235.7 kB / 0.5111 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/0.5698, allocations: 5.471 MB / 0.5165 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006434/0.5705, allocations: 238.5 kB / 0.5167 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.553e-05/0.5706, allocations: 28.72 kB / 0.5167 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01215/0.5827, allocations: 6.072 MB / 0.5227 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.5829, allocations: 86.45 kB / 0.5227 GB, free: 9.504 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.5833, allocations: 190.8 kB / 0.5229 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007641/0.591, allocations: 3.651 MB / 0.5265 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.591, allocations: 1.969 kB / 0.5265 GB, free: 7.988 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.591, allocations: 4 kB / 0.5265 GB, free: 7.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.591, allocations: 0 / 0.5265 GB, free: 7.984 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.002118/0.5932, allocations: 0.9887 MB / 0.5275 GB, free: 7.289 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.5932, allocations: 10.59 kB / 0.5275 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008601/0.5941, allocations: 117.1 kB / 0.5276 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.5945, allocations: 336.9 kB / 0.5279 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.5945, allocations: 23.25 kB / 0.5279 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.5945, allocations: 27.97 kB / 0.5279 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009519/0.5955, allocations: 459.2 kB / 0.5284 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5955, allocations: 0 / 0.5284 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.297e-05/0.5956, allocations: 10.41 kB / 0.5284 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.5956, allocations: 7.562 kB / 0.5284 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.5966, allocations: 374.3 kB / 0.5288 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002377/0.599, allocations: 2.374 MB / 0.5311 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009269/0.5999, allocations: 276.9 kB / 0.5313 GB, free: 4.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002316/0.6002, allocations: 99.31 kB / 0.5314 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/0.6005, allocations: 486.1 kB / 0.5319 GB, free: 4.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.6005, allocations: 40.89 kB / 0.5319 GB, free: 3.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.6005, allocations: 0 / 0.5319 GB, free: 3.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.00153/0.6021, allocations: 454.1 kB / 0.5324 GB, free: 3.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.6021, allocations: 102.8 kB / 0.5325 GB, free: 3.695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002933/0.6024, allocations: 329.9 kB / 0.5328 GB, free: 3.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.6025, allocations: 25.7 kB / 0.5328 GB, free: 3.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.6026, allocations: 219 kB / 0.533 GB, free: 3.359 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.6026, allocations: 36.11 kB / 0.5331 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.805e-05/0.6027, allocations: 54.11 kB / 0.5331 GB, free: 3.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.742e-05/0.6027, allocations: 346 kB / 0.5334 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.603, allocations: 82.84 kB / 0.5335 GB, free: 2.969 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002673/0.6032, allocations: 209.8 kB / 0.5337 GB, free: 2.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004787/0.6037, allocations: 274.2 kB / 0.534 GB, free: 2.637 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.6037, allocations: 6.469 kB / 0.534 GB, free: 2.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000622/0.6044, allocations: 316.2 kB / 0.5343 GB, free: 2.543 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.6044, allocations: 8.062 kB / 0.5343 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6044, allocations: 2.844 kB / 0.5343 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.6044, allocations: 7.969 kB / 0.5343 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.6047, allocations: 66.83 kB / 0.5344 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.6047, allocations: 6.812 kB / 0.5344 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/0.6049, allocations: 50.84 kB / 0.5344 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.605, allocations: 10.78 kB / 0.5344 GB, free: 2.5 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.000119/0.6051, allocations: 153.9 kB / 0.5346 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.558e-05/0.6052, allocations: 28.88 kB / 0.5346 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008964/0.6061, allocations: 0.7381 MB / 0.5353 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.6061, allocations: 9.422 kB / 0.5353 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6061, allocations: 6 kB / 0.5353 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.6061, allocations: 0 / 0.5353 GB, free: 1.961 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004002/0.6065, allocations: 0.5368 MB / 0.5359 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.6065, allocations: 0 / 0.5359 GB, free: 1.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.6067, allocations: 41.98 kB / 0.5359 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.6067, allocations: 3.141 kB / 0.5359 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.6067, allocations: 0 / 0.5359 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.6067, allocations: 2.125 kB / 0.5359 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6067, allocations: 3.938 kB / 0.5359 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005727/0.6073, allocations: 462.3 kB / 0.5364 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.6074, allocations: 118.7 kB / 0.5365 GB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.6075, allocations: 21.41 kB / 0.5365 GB, free: 1.059 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.6077, allocations: 24.98 kB / 0.5365 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.626e-05/0.6078, allocations: 24.03 kB / 0.5365 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.6078, allocations: 5.281 kB / 0.5365 GB, free: 1.027 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002814/0.6081, allocations: 338.9 kB / 0.5369 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6081, allocations: 4 kB / 0.5369 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002628/0.6107, allocations: 0.8388 MB / 0.5377 GB, free: 0.6836 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.003297/0.614, allocations: 0.988 MB / 0.5386 GB, free: 380 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005975/0.6146, allocations: 272.3 kB / 0.5389 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6146, allocations: 0 / 0.5389 GB, free: 264 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002504/0.6149, allocations: 166.5 kB / 0.5391 GB, free: 180 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008381/0.6157, allocations: 180.5 kB / 0.5392 GB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001197/0.6169, allocations: 0.8352 MB / 0.5401 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.6174, allocations: 0.842 MB / 0.5409 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003153/0.6177, allocations: 151.9 kB / 0.541 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.564e-05/0.6178, allocations: 31.44 kB / 0.5411 GB, free: 14.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.6178, allocations: 0 / 0.5411 GB, free: 14.52 MB / 398.1 MB Notification: Performance of Templates: time 0.04481/0.6626, allocations: 33.73 MB / 0.574 GB, free: 12.91 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 -s gbode -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