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.001424/0.001424, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001656/0.001656, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.434/1.434, allocations: 222.9 MB / 242.9 MB, free: 15.21 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.2328/0.2328, allocations: 44.18 MB / 337.3 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 64.22 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1535, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.04253/0.1961, allocations: 30.03 MB / 500 MB, free: 248 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0216/0.2177, allocations: 15.52 MB / 0.5034 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006419/0.2184, allocations: 11.94 kB / 0.5034 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001023/0.2195, allocations: 218.6 kB / 0.5036 GB, free: 448 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.2208, allocations: 270.4 kB / 0.5039 GB, free: 176 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3305/0.5513, allocations: 5.612 MB / 0.5094 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.5528, allocations: 0.8104 MB / 0.5101 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.5532, allocations: 232.5 kB / 0.5104 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01317/0.5664, allocations: 5.47 MB / 0.5157 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005948/0.5671, allocations: 235 kB / 0.5159 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.469e-05/0.5671, allocations: 28.72 kB / 0.516 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01371/0.5809, allocations: 5.938 MB / 0.5218 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.5811, allocations: 90.22 kB / 0.5218 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000428/0.5816, allocations: 187 kB / 0.522 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009518/0.5911, allocations: 3.651 MB / 0.5256 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5911, allocations: 0 / 0.5256 GB, free: 8.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5911, allocations: 0 / 0.5256 GB, free: 8.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.438e-06/0.5912, allocations: 0 / 0.5256 GB, free: 8.281 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.003023/0.5942, allocations: 0.9984 MB / 0.5266 GB, free: 7.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.5942, allocations: 10.16 kB / 0.5266 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009489/0.5952, allocations: 111.3 kB / 0.5267 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.5956, allocations: 324.2 kB / 0.527 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.702e-05/0.5956, allocations: 21.31 kB / 0.527 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.5956, allocations: 28.94 kB / 0.527 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.5967, allocations: 454.7 kB / 0.5275 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5967, allocations: 4.641 kB / 0.5275 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.779e-05/0.5968, allocations: 14.81 kB / 0.5275 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.5968, allocations: 6.312 kB / 0.5275 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.5978, allocations: 370.7 kB / 0.5278 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002955/0.6008, allocations: 2.392 MB / 0.5302 GB, free: 4.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009795/0.6018, allocations: 273.2 kB / 0.5304 GB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.602, allocations: 97.03 kB / 0.5305 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000374/0.6024, allocations: 491.1 kB / 0.531 GB, free: 4.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.202e-05/0.6024, allocations: 34.12 kB / 0.531 GB, free: 4.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.6025, allocations: 0 / 0.531 GB, free: 4.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001616/0.6041, allocations: 453.2 kB / 0.5315 GB, free: 4.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.6041, allocations: 102.8 kB / 0.5316 GB, free: 3.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003062/0.6044, allocations: 324.3 kB / 0.5319 GB, free: 3.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.6045, allocations: 27.7 kB / 0.5319 GB, free: 3.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.6046, allocations: 219.7 kB / 0.5321 GB, free: 3.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.6046, allocations: 35.66 kB / 0.5321 GB, free: 3.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.208e-05/0.6047, allocations: 55.88 kB / 0.5322 GB, free: 3.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.247e-05/0.6048, allocations: 336.5 kB / 0.5325 GB, free: 3.293 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.605, allocations: 91.58 kB / 0.5326 GB, free: 3.273 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.6054, allocations: 205.7 kB / 0.5328 GB, free: 3.102 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005254/0.6059, allocations: 289.3 kB / 0.5331 GB, free: 2.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6059, allocations: 0 / 0.5331 GB, free: 2.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006801/0.6066, allocations: 314.3 kB / 0.5334 GB, free: 2.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6066, allocations: 7.031 kB / 0.5334 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.6066, allocations: 2.469 kB / 0.5334 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.6067, allocations: 6.125 kB / 0.5334 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.6069, allocations: 71.45 kB / 0.5335 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.6069, allocations: 10.06 kB / 0.5335 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.6072, allocations: 39.23 kB / 0.5335 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.6072, allocations: 21.89 kB / 0.5335 GB, free: 2.797 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.0001371/0.6073, allocations: 147.8 kB / 0.5337 GB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.297e-05/0.6074, allocations: 30.38 kB / 0.5337 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.6085, allocations: 0.7571 MB / 0.5344 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.6085, allocations: 10.73 kB / 0.5344 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6085, allocations: 3.938 kB / 0.5345 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.6085, allocations: 0 / 0.5345 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.609, allocations: 0.5309 MB / 0.535 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.609, allocations: 0 / 0.535 GB, free: 2.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.6092, allocations: 41.52 kB / 0.535 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6092, allocations: 0 / 0.535 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.6092, allocations: 13.66 kB / 0.535 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.6092, allocations: 3.188 kB / 0.535 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6092, allocations: 3.938 kB / 0.535 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006386/0.6099, allocations: 455.2 kB / 0.5355 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.6099, allocations: 118.8 kB / 0.5356 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.61, allocations: 26.81 kB / 0.5356 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002028/0.6102, allocations: 13.27 kB / 0.5356 GB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.6103, allocations: 22.06 kB / 0.5356 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.299e-05/0.6103, allocations: 3.875 kB / 0.5356 GB, free: 1.582 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003102/0.6106, allocations: 345 kB / 0.536 GB, free: 1.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6106, allocations: 0 / 0.536 GB, free: 1.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003272/0.6139, allocations: 0.8379 MB / 0.5368 GB, free: 1.238 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.004115/0.618, allocations: 0.9985 MB / 0.5378 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000814/0.6189, allocations: 276.1 kB / 0.538 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6189, allocations: 0 / 0.538 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.6192, allocations: 166.7 kB / 0.5382 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.6202, allocations: 182 kB / 0.5384 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.6217, allocations: 0.8779 MB / 0.5392 GB, free: 68 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004973/0.6222, allocations: 0.8365 MB / 0.54 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.802e-05/0.6223, allocations: 36.95 kB / 0.5401 GB, free: 15.29 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.6223, allocations: 0 / 0.5401 GB, free: 15.29 MB / 398.1 MB Notification: Performance of Templates: time 0.0361/0.6584, allocations: 19.8 MB / 0.5594 GB, free: 11.74 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