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.001196/0.001196, allocations: 110 kB / 17.86 MB, free: 5.504 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.001305/0.001305, allocations: 201.9 kB / 18.78 MB, free: 4.586 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 / 242.4 MB, free: 15.43 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.2194/0.2194, allocations: 44.17 MB / 336.8 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.81 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1569, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04089/0.1978, allocations: 30.87 MB / 0.4883 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3068/0.5046, allocations: 16.48 MB / 0.5044 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.5052, allocations: 13.59 kB / 0.5044 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007927/0.506, allocations: 186.4 kB / 0.5046 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007142/0.5067, allocations: 259.6 kB / 0.5049 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0168/0.5235, allocations: 4.513 MB / 0.5093 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002095/0.5256, allocations: 1.092 MB / 0.5103 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.5261, allocations: 191.2 kB / 0.5105 GB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01386/0.54, allocations: 5.41 MB / 0.5158 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007365/0.5408, allocations: 240.9 kB / 0.516 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.5409, allocations: 14.28 kB / 0.516 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01453/0.5554, allocations: 6.015 MB / 0.5219 GB, free: 9.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002225/0.5557, allocations: 70.59 kB / 0.522 GB, free: 9.684 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005042/0.5562, allocations: 173 kB / 0.5222 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006356/0.5626, allocations: 2.477 MB / 0.5246 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.5626, allocations: 0 / 0.5246 GB, free: 8.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.314e-06/0.5626, allocations: 0 / 0.5246 GB, free: 8.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.703e-05/0.5626, allocations: 4 kB / 0.5246 GB, free: 8.645 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.003575/0.5662, allocations: 0.9951 MB / 0.5255 GB, free: 7.949 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.5663, allocations: 18.06 kB / 0.5256 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009635/0.5673, allocations: 107 kB / 0.5257 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003891/0.5677, allocations: 325.6 kB / 0.526 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.5677, allocations: 28.34 kB / 0.526 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.167e-05/0.5677, allocations: 26.22 kB / 0.526 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.5688, allocations: 453.8 kB / 0.5265 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.5688, allocations: 3 kB / 0.5265 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.5689, allocations: 9.562 kB / 0.5265 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.5689, allocations: 7.062 kB / 0.5265 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.5699, allocations: 372.5 kB / 0.5268 GB, free: 7.328 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002834/0.5727, allocations: 2.38 MB / 0.5292 GB, free: 5.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.5737, allocations: 279.4 kB / 0.5294 GB, free: 5.215 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000259/0.574, allocations: 102.5 kB / 0.5295 GB, free: 5.188 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003667/0.5744, allocations: 483.2 kB / 0.53 GB, free: 4.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.5744, allocations: 34.94 kB / 0.53 GB, free: 4.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/0.5744, allocations: 0 / 0.53 GB, free: 4.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001686/0.5761, allocations: 440.7 kB / 0.5304 GB, free: 4.504 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.5761, allocations: 115.7 kB / 0.5305 GB, free: 4.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.5765, allocations: 325.7 kB / 0.5309 GB, free: 4.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.5765, allocations: 27.67 kB / 0.5309 GB, free: 4.191 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.5766, allocations: 215.8 kB / 0.5311 GB, free: 4.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.5766, allocations: 41.2 kB / 0.5311 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.882e-05/0.5767, allocations: 51.3 kB / 0.5312 GB, free: 3.996 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.5768, allocations: 344.1 kB / 0.5315 GB, free: 3.672 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.5771, allocations: 85.88 kB / 0.5316 GB, free: 3.652 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.5774, allocations: 213.8 kB / 0.5318 GB, free: 3.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.5779, allocations: 277.1 kB / 0.5321 GB, free: 3.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.5779, allocations: 0 / 0.5321 GB, free: 3.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000669/0.5786, allocations: 314.4 kB / 0.5324 GB, free: 3.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.5787, allocations: 8.156 kB / 0.5324 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.5787, allocations: 7.312 kB / 0.5324 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/0.5787, allocations: 4.719 kB / 0.5324 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002497/0.5789, allocations: 68.8 kB / 0.5324 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.579, allocations: 15.55 kB / 0.5325 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002777/0.5793, allocations: 47.42 kB / 0.5325 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.5793, allocations: 15.22 kB / 0.5325 GB, free: 3.176 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.0001447/0.5794, allocations: 160.1 kB / 0.5327 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.149e-05/0.5795, allocations: 26 kB / 0.5327 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.5806, allocations: 0.7517 MB / 0.5334 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.5806, allocations: 6.219 kB / 0.5334 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5806, allocations: 7.781 kB / 0.5334 GB, free: 2.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5806, allocations: 3.984 kB / 0.5334 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.5811, allocations: 0.5221 MB / 0.534 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5811, allocations: 0 / 0.534 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.5813, allocations: 49.2 kB / 0.534 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.5814, allocations: 0 / 0.534 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.541e-05/0.5814, allocations: 9.172 kB / 0.534 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5814, allocations: 0 / 0.534 GB, free: 2.477 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5814, allocations: 3.938 kB / 0.534 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.582, allocations: 456.9 kB / 0.5345 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.5821, allocations: 118.7 kB / 0.5346 GB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.5822, allocations: 28.94 kB / 0.5346 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002291/0.5824, allocations: 22.59 kB / 0.5346 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.5825, allocations: 26.22 kB / 0.5346 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.5825, allocations: 5.031 kB / 0.5346 GB, free: 2.094 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003538/0.5829, allocations: 340.4 kB / 0.535 GB, free: 1.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5829, allocations: 0 / 0.535 GB, free: 1.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003859/0.5868, allocations: 0.8437 MB / 0.5358 GB, free: 1.855 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.005229/0.592, allocations: 0.9857 MB / 0.5368 GB, free: 1.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000816/0.5929, allocations: 279.5 kB / 0.537 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5929, allocations: 0.9375 kB / 0.537 GB, free: 1.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002973/0.5932, allocations: 167.8 kB / 0.5372 GB, free: 1.484 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.5943, allocations: 174.8 kB / 0.5373 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.5956, allocations: 1.028 MB / 0.5384 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002567/0.5959, allocations: 0.8424 MB / 0.5392 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.443e-05/0.596, allocations: 30.12 kB / 0.5392 GB, free: 28 kB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.596, allocations: 0 / 0.5392 GB, free: 28 kB / 382.1 MB Notification: Performance of Templates: time 0.03618/0.6322, allocations: 19.79 MB / 0.5585 GB, free: 12.94 MB / 414.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/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