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.001137/0.001137, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001125/0.001125, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 81.14 kB / 417.6 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1641/0.1655, allocations: 62.45 MB / 480 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.03537/0.2009, allocations: 30.17 MB / 0.4982 GB, free: 6.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3583/0.5592, allocations: 15.53 MB / 0.5134 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006431/0.5599, allocations: 14.28 kB / 0.5134 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00102/0.561, allocations: 216.9 kB / 0.5136 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009955/0.562, allocations: 267.1 kB / 0.5139 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02251/0.5846, allocations: 5.646 MB / 0.5194 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001527/0.5861, allocations: 0.8171 MB / 0.5202 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004336/0.5866, allocations: 228.8 kB / 0.5204 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01354/0.6001, allocations: 5.478 MB / 0.5258 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007714/0.6009, allocations: 233.5 kB / 0.526 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.575e-05/0.601, allocations: 28.56 kB / 0.526 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01601/0.617, allocations: 5.957 MB / 0.5318 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002822/0.6174, allocations: 91.03 kB / 0.5319 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000537/0.6179, allocations: 184.7 kB / 0.5321 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.6293, allocations: 3.662 MB / 0.5357 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.6294, allocations: 1.812 kB / 0.5357 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.6294, allocations: 3.938 kB / 0.5357 GB, free: 4.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.085e-06/0.6294, allocations: 0 / 0.5357 GB, free: 4.754 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.002909/0.6323, allocations: 1.003 MB / 0.5366 GB, free: 3.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.6324, allocations: 13.53 kB / 0.5367 GB, free: 3.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.6334, allocations: 113.5 kB / 0.5368 GB, free: 3.938 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.6338, allocations: 331.1 kB / 0.5371 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.246e-05/0.6338, allocations: 19.38 kB / 0.5371 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.6339, allocations: 25.81 kB / 0.5371 GB, free: 3.609 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.6349, allocations: 459.8 kB / 0.5376 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.635, allocations: 0 / 0.5376 GB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.973e-05/0.635, allocations: 17.48 kB / 0.5376 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.635, allocations: 9.469 kB / 0.5376 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009847/0.636, allocations: 373 kB / 0.5379 GB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002653/0.6387, allocations: 2.386 MB / 0.5403 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009334/0.6396, allocations: 272.2 kB / 0.5405 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.6399, allocations: 96.72 kB / 0.5406 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003428/0.6402, allocations: 482.5 kB / 0.5411 GB, free: 148 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.6403, allocations: 37.34 kB / 0.5411 GB, free: 104 kB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.6403, allocations: 0 / 0.5411 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001716/0.642, allocations: 455.2 kB / 0.5416 GB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.089e-05/0.6421, allocations: 102.8 kB / 0.5417 GB, free: 15.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.6424, allocations: 324.8 kB / 0.542 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.6425, allocations: 32.58 kB / 0.542 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6426, allocations: 213.8 kB / 0.5422 GB, free: 15.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.6427, allocations: 40.95 kB / 0.5422 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.599e-05/0.6428, allocations: 54.52 kB / 0.5423 GB, free: 15.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.6429, allocations: 341.1 kB / 0.5426 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.6432, allocations: 81.72 kB / 0.5427 GB, free: 14.86 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003278/0.6435, allocations: 206.9 kB / 0.5429 GB, free: 14.66 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005584/0.6441, allocations: 285.5 kB / 0.5432 GB, free: 14.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6441, allocations: 0 / 0.5432 GB, free: 14.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007005/0.6448, allocations: 319.2 kB / 0.5435 GB, free: 14.26 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.6448, allocations: 7.25 kB / 0.5435 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.6448, allocations: 2.906 kB / 0.5435 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/0.6449, allocations: 5.969 kB / 0.5435 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002526/0.6451, allocations: 67.2 kB / 0.5435 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.6452, allocations: 14.55 kB / 0.5436 GB, free: 14.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002471/0.6454, allocations: 45.11 kB / 0.5436 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.6455, allocations: 15.19 kB / 0.5436 GB, free: 14.2 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.0001758/0.6456, allocations: 155.7 kB / 0.5438 GB, free: 14.05 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.635e-05/0.6457, allocations: 30.34 kB / 0.5438 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.6469, allocations: 0.7467 MB / 0.5445 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.6469, allocations: 11.02 kB / 0.5445 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.6469, allocations: 3.938 kB / 0.5445 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6469, allocations: 0 / 0.5445 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005682/0.6475, allocations: 0.5303 MB / 0.5451 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6475, allocations: 0 / 0.5451 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.6477, allocations: 41.52 kB / 0.5451 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6478, allocations: 0 / 0.5451 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.618e-05/0.6478, allocations: 6.062 kB / 0.5451 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.6478, allocations: 4 kB / 0.5451 GB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.6478, allocations: 3.938 kB / 0.5451 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007049/0.6485, allocations: 463.6 kB / 0.5456 GB, free: 12.81 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.959e-05/0.6486, allocations: 123 kB / 0.5457 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.981e-05/0.6487, allocations: 24.66 kB / 0.5457 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.6489, allocations: 16.92 kB / 0.5457 GB, free: 12.66 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.649, allocations: 24.16 kB / 0.5457 GB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.578e-05/0.649, allocations: 4.781 kB / 0.5457 GB, free: 12.64 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003903/0.6494, allocations: 348.6 kB / 0.5461 GB, free: 12.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6494, allocations: 0 / 0.5461 GB, free: 12.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004037/0.6534, allocations: 0.8395 MB / 0.5469 GB, free: 11.96 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.004234/0.6577, allocations: 1.002 MB / 0.5479 GB, free: 11.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008088/0.6585, allocations: 280.5 kB / 0.5481 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.6585, allocations: 0 / 0.5481 GB, free: 10.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.6588, allocations: 167.9 kB / 0.5483 GB, free: 10.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009737/0.6598, allocations: 188.3 kB / 0.5485 GB, free: 10.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.6612, allocations: 0.8486 MB / 0.5493 GB, free: 9.551 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.6616, allocations: 0.8385 MB / 0.5501 GB, free: 8.688 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003249/0.6619, allocations: 138.8 kB / 0.5503 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.662, allocations: 35.44 kB / 0.5503 GB, free: 8.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.465e-06/0.662, allocations: 0 / 0.5503 GB, free: 8.52 MB / 398.1 MB Notification: Performance of Templates: time 0.04525/0.7072, allocations: 33.9 MB / 0.5834 GB, free: 6.691 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Sensors/TestSpecificEnthalpy/TestSpecificEnthalpy.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches