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.00115/0.00115, 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.001097/0.001097, 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.471/1.471, allocations: 222.9 MB / 243 MB, free: 15.07 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.2277/0.2277, allocations: 44.18 MB / 337.4 MB, free: 2.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001292, allocations: 59.56 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1423, allocations: 60.83 MB / 470.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03498/0.1773, allocations: 30.04 MB / 0.489 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3041/0.4814, allocations: 15.51 MB / 0.5042 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000592/0.4821, allocations: 8.469 kB / 0.5042 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008709/0.483, allocations: 221 kB / 0.5044 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007068/0.4837, allocations: 267.1 kB / 0.5046 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02058/0.5043, allocations: 5.607 MB / 0.5101 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001836/0.5062, allocations: 0.8195 MB / 0.5109 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005674/0.5067, allocations: 234.2 kB / 0.5111 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01445/0.5212, allocations: 5.47 MB / 0.5165 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008069/0.5221, allocations: 235.2 kB / 0.5167 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.5222, allocations: 28.91 kB / 0.5167 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/0.5372, allocations: 6.079 MB / 0.5227 GB, free: 9.508 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002258/0.5374, allocations: 84.17 kB / 0.5227 GB, free: 9.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004743/0.5379, allocations: 185.7 kB / 0.5229 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.5498, allocations: 3.653 MB / 0.5265 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5498, allocations: 0 / 0.5265 GB, free: 7.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5498, allocations: 0 / 0.5265 GB, free: 7.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.5499, allocations: 3.656 kB / 0.5265 GB, free: 7.98 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.003091/0.553, allocations: 1 MB / 0.5275 GB, free: 7.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.553, allocations: 12.69 kB / 0.5275 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000917/0.5539, allocations: 108.6 kB / 0.5276 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004895/0.5544, allocations: 338.3 kB / 0.5279 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.5545, allocations: 22.88 kB / 0.5279 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.966e-05/0.5545, allocations: 24.03 kB / 0.5279 GB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.5556, allocations: 457.8 kB / 0.5284 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.5557, allocations: 2.469 kB / 0.5284 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.414e-05/0.5557, allocations: 11.75 kB / 0.5284 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.5557, allocations: 6.688 kB / 0.5284 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000965/0.5567, allocations: 367.6 kB / 0.5288 GB, free: 6.652 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002681/0.5594, allocations: 2.381 MB / 0.5311 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000926/0.5603, allocations: 277.3 kB / 0.5313 GB, free: 4.535 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.5606, allocations: 94.95 kB / 0.5314 GB, free: 4.512 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003224/0.5609, allocations: 493.9 kB / 0.5319 GB, free: 4.012 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.806e-05/0.5609, allocations: 39.45 kB / 0.5319 GB, free: 3.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.624e-06/0.5609, allocations: 0 / 0.5319 GB, free: 3.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001545/0.5625, allocations: 444.5 kB / 0.5324 GB, free: 3.816 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/0.5626, allocations: 105.2 kB / 0.5325 GB, free: 3.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003002/0.5629, allocations: 324 kB / 0.5328 GB, free: 3.539 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.5629, allocations: 31.02 kB / 0.5328 GB, free: 3.508 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.563, allocations: 216.8 kB / 0.533 GB, free: 3.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.563, allocations: 40.31 kB / 0.533 GB, free: 3.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.873e-05/0.5631, allocations: 58.31 kB / 0.5331 GB, free: 3.305 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.458e-05/0.5632, allocations: 339.2 kB / 0.5334 GB, free: 2.984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.5635, allocations: 86.27 kB / 0.5335 GB, free: 2.965 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.5638, allocations: 207.6 kB / 0.5337 GB, free: 2.797 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.5643, allocations: 276.7 kB / 0.534 GB, free: 2.633 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5643, allocations: 3.562 kB / 0.534 GB, free: 2.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006301/0.5649, allocations: 316.9 kB / 0.5343 GB, free: 2.539 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5649, allocations: 6.656 kB / 0.5343 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.565, allocations: 8.469 kB / 0.5343 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.565, allocations: 3.469 kB / 0.5343 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.5652, allocations: 69.8 kB / 0.5344 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5652, allocations: 9.469 kB / 0.5344 GB, free: 2.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.5655, allocations: 37.23 kB / 0.5344 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.5655, allocations: 18.17 kB / 0.5344 GB, free: 2.496 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.0001347/0.5657, allocations: 152 kB / 0.5346 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.667e-05/0.5657, allocations: 29.53 kB / 0.5346 GB, free: 2.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009771/0.5667, allocations: 0.7434 MB / 0.5353 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.21e-05/0.5667, allocations: 6.516 kB / 0.5353 GB, free: 1.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5668, allocations: 10.06 kB / 0.5353 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.5668, allocations: 4 kB / 0.5353 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.5672, allocations: 0.5257 MB / 0.5359 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.5672, allocations: 3.984 kB / 0.5359 GB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.5674, allocations: 45.67 kB / 0.5359 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.5674, allocations: 0 / 0.5359 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.5675, allocations: 4.688 kB / 0.5359 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.5675, allocations: 0 / 0.5359 GB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.5675, allocations: 3.938 kB / 0.5359 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005983/0.5681, allocations: 463 kB / 0.5364 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.51e-05/0.5682, allocations: 115 kB / 0.5365 GB, free: 1.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.739e-05/0.5682, allocations: 25.66 kB / 0.5365 GB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.5684, allocations: 27.28 kB / 0.5365 GB, free: 1.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.142e-05/0.5685, allocations: 18.02 kB / 0.5365 GB, free: 1.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.5685, allocations: 7.953 kB / 0.5365 GB, free: 1.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003119/0.5689, allocations: 339.1 kB / 0.5369 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5689, allocations: 0 / 0.5369 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003498/0.5724, allocations: 0.8396 MB / 0.5377 GB, free: 0.6992 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.004982/0.5774, allocations: 1.002 MB / 0.5387 GB, free: 384 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009042/0.5783, allocations: 262.5 kB / 0.5389 GB, free: 276 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.5783, allocations: 5.875 kB / 0.5389 GB, free: 272 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.5786, allocations: 170.5 kB / 0.5391 GB, free: 188 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.5798, allocations: 166.2 kB / 0.5392 GB, free: 104 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.5814, allocations: 0.8365 MB / 0.5401 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/0.5819, allocations: 0.8429 MB / 0.5409 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.5823, allocations: 147 kB / 0.541 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.336e-05/0.5824, allocations: 39.42 kB / 0.5411 GB, free: 14.54 MB / 398.1 MB Notification: Performance of SimCode: time 9.61e-07/0.5824, allocations: 4 kB / 0.5411 GB, free: 14.54 MB / 398.1 MB Notification: Performance of Templates: time 0.04617/0.6285, allocations: 33.72 MB / 0.574 GB, free: 12.92 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 cvode -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