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.001166/0.001166, allocations: 96.5 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001278/0.001278, allocations: 197.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2694/0.2694, allocations: 46.19 MB / 344.8 MB, free: 11.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003811, allocations: 8 kB / 418.8 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2108, allocations: 63.56 MB / 482.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy): time 0.0532/0.2641, allocations: 28.05 MB / 0.4985 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.424/0.6881, allocations: 14.45 MB / 0.5126 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006079/0.6888, allocations: 11.09 kB / 0.5126 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008028/0.6896, allocations: 171 kB / 0.5128 GB, free: 11.61 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:729:36-730:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Fluid/Sources.mo:727:36-728:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0009177/0.6905, allocations: 265.5 kB / 0.513 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01821/0.7087, allocations: 4.33 MB / 0.5173 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002298/0.711, allocations: 0.9371 MB / 0.5182 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000524/0.7116, allocations: 184.7 kB / 0.5183 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02015/0.7317, allocations: 8.951 MB / 0.5271 GB, free: 11.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000748/0.7325, allocations: 225 kB / 0.5273 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.151e-05/0.7326, allocations: 17.31 kB / 0.5273 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01322/0.7458, allocations: 5.827 MB / 0.533 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001942/0.7461, allocations: 68.5 kB / 0.5331 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003301/0.7464, allocations: 94.58 kB / 0.5332 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006521/0.7529, allocations: 2.469 MB / 0.5356 GB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.206e-06/0.753, allocations: 0 / 0.5356 GB, free: 9.387 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.753, allocations: 0 / 0.5356 GB, free: 9.387 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.753, allocations: 0 / 0.5356 GB, free: 9.387 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.003362/0.7564, allocations: 0.9446 MB / 0.5365 GB, free: 8.699 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.7564, allocations: 10.06 kB / 0.5365 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000963/0.7574, allocations: 129.9 kB / 0.5366 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.7578, allocations: 330.4 kB / 0.5369 GB, free: 8.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.7578, allocations: 22.19 kB / 0.537 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.416e-05/0.7578, allocations: 23.59 kB / 0.537 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009621/0.7588, allocations: 469.4 kB / 0.5374 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.7588, allocations: 0 / 0.5374 GB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.7589, allocations: 16.94 kB / 0.5375 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.7589, allocations: 8 kB / 0.5375 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00093/0.7598, allocations: 402.4 kB / 0.5378 GB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.7623, allocations: 2.4 MB / 0.5402 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/0.7632, allocations: 298.3 kB / 0.5405 GB, free: 4.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002347/0.7635, allocations: 110.2 kB / 0.5406 GB, free: 4.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003265/0.7638, allocations: 484.7 kB / 0.541 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.7638, allocations: 34.56 kB / 0.5411 GB, free: 4.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.783e-06/0.7638, allocations: 0 / 0.5411 GB, free: 4.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.001504/0.7653, allocations: 0.4911 MB / 0.5416 GB, free: 3.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.7654, allocations: 106.4 kB / 0.5417 GB, free: 3.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003123/0.7658, allocations: 319.5 kB / 0.542 GB, free: 3.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.7658, allocations: 29.78 kB / 0.542 GB, free: 3.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.7659, allocations: 218.2 kB / 0.5422 GB, free: 3.223 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.766, allocations: 36.33 kB / 0.5422 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.304e-05/0.766, allocations: 4.438 kB / 0.5422 GB, free: 3.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.7661, allocations: 338.7 kB / 0.5426 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.7664, allocations: 96.61 kB / 0.5426 GB, free: 2.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.7666, allocations: 212 kB / 0.5428 GB, free: 2.559 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002627/0.7669, allocations: 115.4 kB / 0.543 GB, free: 2.473 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.7669, allocations: 4 kB / 0.543 GB, free: 2.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006053/0.7675, allocations: 341.8 kB / 0.5433 GB, free: 2.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.7676, allocations: 7.953 kB / 0.5433 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.886e-06/0.7676, allocations: 5.203 kB / 0.5433 GB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/0.7676, allocations: 8 kB / 0.5433 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002214/0.7678, allocations: 66.89 kB / 0.5434 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.7679, allocations: 7.984 kB / 0.5434 GB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.7681, allocations: 55.23 kB / 0.5434 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.7681, allocations: 10.06 kB / 0.5434 GB, free: 2.039 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_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 initialization (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001559/0.7683, allocations: 160.7 kB / 0.5436 GB, free: 1.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.7683, allocations: 31.5 kB / 0.5436 GB, free: 1.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/0.7695, allocations: 0.7836 MB / 0.5444 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.7695, allocations: 12.45 kB / 0.5444 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.7695, allocations: 0 / 0.5444 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.7695, allocations: 3.984 kB / 0.5444 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005161/0.77, allocations: 0.528 MB / 0.5449 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.77, allocations: 0 / 0.5449 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.7702, allocations: 50.83 kB / 0.545 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.7702, allocations: 8 kB / 0.545 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.7703, allocations: 10 kB / 0.545 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.7703, allocations: 0 / 0.545 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.7703, allocations: 1.422 kB / 0.545 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.7709, allocations: 481 kB / 0.5454 GB, free: 380 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.771, allocations: 181.6 kB / 0.5456 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.771, allocations: 7.203 kB / 0.5456 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.7713, allocations: 27.98 kB / 0.5457 GB, free: 172 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.061e-05/0.7713, allocations: 19.72 kB / 0.5457 GB, free: 156 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.7714, allocations: 7.984 kB / 0.5457 GB, free: 148 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003756/0.7717, allocations: 341.2 kB / 0.546 GB, free: 15.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.7718, allocations: 0 / 0.546 GB, free: 15.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003571/0.7753, allocations: 0.8438 MB / 0.5468 GB, free: 15.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00406/0.7794, allocations: 1.004 MB / 0.5478 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008447/0.7803, allocations: 287.2 kB / 0.5481 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7803, allocations: 0 / 0.5481 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003359/0.7806, allocations: 178 kB / 0.5483 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.7817, allocations: 170.1 kB / 0.5484 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001933/0.7836, allocations: 1.042 MB / 0.5494 GB, free: 12.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000767/0.7844, allocations: 0.8406 MB / 0.5503 GB, free: 11.86 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.7848, allocations: 150.5 kB / 0.5504 GB, free: 11.72 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.7849, allocations: 33.38 kB / 0.5504 GB, free: 11.69 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.7849, allocations: 0 / 0.5504 GB, free: 11.69 MB / 398.1 MB Notification: Performance of Templates: time 0.05055/0.8355, allocations: 33.89 MB / 0.5835 GB, free: 9.91 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