Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001256/0.001262, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2065/0.2065, allocations: 46.1 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001277/0.001278, allocations: 67.89 kB / 419 MB, free: 18.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1141, allocations: 62.45 MB / 481.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03044/0.1446, allocations: 30.18 MB / 0.4996 GB, free: 6.211 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2405/0.3852, allocations: 15.53 MB / 0.5148 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003547/0.3856, allocations: 8.406 kB / 0.5148 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007406/0.3864, allocations: 217.5 kB / 0.515 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006919/0.3871, allocations: 270.7 kB / 0.5153 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01743/0.4045, allocations: 5.637 MB / 0.5208 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001174/0.4057, allocations: 0.817 MB / 0.5216 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/0.4061, allocations: 232.2 kB / 0.5218 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01185/0.4179, allocations: 5.476 MB / 0.5272 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.4184, allocations: 235.8 kB / 0.5274 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.422e-05/0.4185, allocations: 29.62 kB / 0.5274 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01167/0.4302, allocations: 6.085 MB / 0.5334 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.4304, allocations: 91.56 kB / 0.5334 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003154/0.4307, allocations: 190.5 kB / 0.5336 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008261/0.439, allocations: 3.668 MB / 0.5372 GB, free: 5.027 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.439, allocations: 0 / 0.5372 GB, free: 5.027 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.439, allocations: 0 / 0.5372 GB, free: 5.027 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.439, allocations: 0 / 0.5372 GB, free: 5.027 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.002679/0.4417, allocations: 0.9992 MB / 0.5382 GB, free: 4.262 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4418, allocations: 12.72 kB / 0.5382 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009804/0.4428, allocations: 119.2 kB / 0.5383 GB, free: 4.211 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004763/0.4432, allocations: 344.7 kB / 0.5386 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.4433, allocations: 19.38 kB / 0.5387 GB, free: 3.883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.4433, allocations: 25.16 kB / 0.5387 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009217/0.4442, allocations: 456.3 kB / 0.5391 GB, free: 3.559 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.4443, allocations: 6.656 kB / 0.5391 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/0.4443, allocations: 10.91 kB / 0.5391 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4443, allocations: 8.094 kB / 0.5391 GB, free: 3.547 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009059/0.4452, allocations: 368.9 kB / 0.5395 GB, free: 3.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00239/0.4476, allocations: 2.381 MB / 0.5418 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.4485, allocations: 271.3 kB / 0.5421 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.4487, allocations: 97.16 kB / 0.5422 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003097/0.4491, allocations: 494.7 kB / 0.5426 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.4491, allocations: 30.56 kB / 0.5427 GB, free: 388 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.844e-06/0.4491, allocations: 0 / 0.5427 GB, free: 388 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001464/0.4506, allocations: 454.6 kB / 0.5431 GB, free: 152 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.4506, allocations: 105.9 kB / 0.5432 GB, free: 24 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003773/0.451, allocations: 324.5 kB / 0.5435 GB, free: 15.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.451, allocations: 29.7 kB / 0.5435 GB, free: 15.78 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4512, allocations: 211.6 kB / 0.5437 GB, free: 15.59 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.4512, allocations: 43.61 kB / 0.5438 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.703e-05/0.4513, allocations: 54.17 kB / 0.5438 GB, free: 15.51 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.4515, allocations: 340.8 kB / 0.5442 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.4517, allocations: 84.88 kB / 0.5442 GB, free: 15.14 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003159/0.452, allocations: 212.6 kB / 0.5444 GB, free: 14.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005091/0.4526, allocations: 282 kB / 0.5447 GB, free: 14.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.4526, allocations: 0 / 0.5447 GB, free: 14.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006389/0.4532, allocations: 319.2 kB / 0.545 GB, free: 14.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.4532, allocations: 8.219 kB / 0.545 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4533, allocations: 2.531 kB / 0.545 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.4533, allocations: 6.281 kB / 0.545 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.4535, allocations: 68.8 kB / 0.5451 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4535, allocations: 3.938 kB / 0.5451 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.4538, allocations: 50.28 kB / 0.5452 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/0.4538, allocations: 11 kB / 0.5452 GB, free: 14.48 MB / 398.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.0001494/0.454, allocations: 154 kB / 0.5453 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.454, allocations: 32.62 kB / 0.5453 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.4551, allocations: 0.7467 MB / 0.5461 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4551, allocations: 6.891 kB / 0.5461 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4551, allocations: 0 / 0.5461 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.4551, allocations: 7.938 kB / 0.5461 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.4556, allocations: 0.5275 MB / 0.5466 GB, free: 13.43 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4556, allocations: 3.938 kB / 0.5466 GB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.4558, allocations: 44.8 kB / 0.5466 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.4558, allocations: 0 / 0.5466 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.4558, allocations: 7.219 kB / 0.5467 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.572e-06/0.4558, allocations: 0 / 0.5467 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.4558, allocations: 0 / 0.5467 GB, free: 13.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006467/0.4565, allocations: 471.2 kB / 0.5471 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.77e-05/0.4566, allocations: 122.5 kB / 0.5472 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.4567, allocations: 22.22 kB / 0.5472 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000202/0.4569, allocations: 21.8 kB / 0.5473 GB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.378e-05/0.457, allocations: 19.28 kB / 0.5473 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.457, allocations: 6.844 kB / 0.5473 GB, free: 12.92 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003321/0.4573, allocations: 345.2 kB / 0.5476 GB, free: 12.71 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4573, allocations: 0 / 0.5476 GB, free: 12.71 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002611/0.4599, allocations: 0.8401 MB / 0.5484 GB, free: 11.97 MB / 398.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.003191/0.4631, allocations: 0.9874 MB / 0.5494 GB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000673/0.4638, allocations: 271.2 kB / 0.5497 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4638, allocations: 3.938 kB / 0.5497 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.4641, allocations: 171.9 kB / 0.5498 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008601/0.465, allocations: 178.2 kB / 0.55 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.4662, allocations: 0.8453 MB / 0.5508 GB, free: 9.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.4666, allocations: 0.8463 MB / 0.5516 GB, free: 8.719 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002742/0.4668, allocations: 138.8 kB / 0.5518 GB, free: 8.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.4669, allocations: 31.42 kB / 0.5518 GB, free: 8.555 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4669, allocations: 0 / 0.5518 GB, free: 8.555 MB / 398.1 MB Notification: Performance of Templates: time 0.04214/0.5091, allocations: 33.79 MB / 0.5848 GB, free: 6.82 MB / 430.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches