Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|pipe1.port_a.p|pipe1.port_b.p|pipe1.port_b.m_flow|pipe1.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001025, allocations: 94.25 kB / 17.35 MB, free: 6.375 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.001235/0.001235, allocations: 180.4 kB / 18.26 MB, free: 5.52 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.386/1.386, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1841/0.1841, allocations: 44.25 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004956/0.0004957, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1525, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.013/0.1656, allocations: 12.35 MB / 484.6 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01093/0.1766, allocations: 5.621 MB / 490.2 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001085/0.1777, allocations: 15.88 kB / 490.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008881/0.1786, allocations: 183 kB / 490.4 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002147/0.1808, allocations: 0.6379 MB / 491.1 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004096/0.1849, allocations: 1.315 MB / 492.4 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.1872, allocations: 1.723 MB / 494.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005211/0.1878, allocations: 281.4 kB / 494.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008765/0.1886, allocations: 430.3 kB / 494.8 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006944/0.1893, allocations: 458.4 kB / 495.2 MB, free: 6.297 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.966e-05/0.1894, allocations: 24 kB / 495.3 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0024/0.1918, allocations: 1.037 MB / 496.3 MB, free: 5.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002185/0.1921, allocations: 143.5 kB / 496.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003214/0.1924, allocations: 284.4 kB / 496.7 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.1944, allocations: 1.266 MB / 498 MB, free: 3.539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1944, allocations: 0 / 498 MB, free: 3.539 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.1944, allocations: 4 kB / 498 MB, free: 3.535 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.1944, allocations: 0 / 498 MB, free: 3.535 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001618/0.1961, allocations: 0.8432 MB / 498.8 MB, free: 2.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1961, allocations: 15.97 kB / 498.8 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002266/0.1963, allocations: 60.28 kB / 498.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/0.197, allocations: 449.4 kB / 499.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.688e-05/0.197, allocations: 20.56 kB / 499.4 MB, free: 2.066 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.14e-05/0.1971, allocations: 35.97 kB / 499.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009758/0.1981, allocations: 0.5224 MB / 499.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1981, allocations: 0 / 499.9 MB, free: 1.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.1982, allocations: 15.98 kB / 499.9 MB, free: 1.457 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-05/0.1983, allocations: 36.53 kB / 500 MB, free: 1.422 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007464/0.199, allocations: 458 kB / 0.4887 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.2027, allocations: 2.257 MB / 0.4909 GB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005019/0.2032, allocations: 238.6 kB / 0.4911 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.2034, allocations: 140.6 kB / 0.4913 GB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001417/0.2049, allocations: 1.025 MB / 0.4923 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004355/0.2053, allocations: 226.8 kB / 0.4925 GB, free: 12.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.774e-06/0.2053, allocations: 0 / 0.4925 GB, free: 12.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007831/0.2061, allocations: 382.6 kB / 0.4928 GB, free: 12.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/0.2063, allocations: 239.3 kB / 0.4931 GB, free: 12.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006797/0.207, allocations: 0.5214 MB / 0.4936 GB, free: 11.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.207, allocations: 25.7 kB / 0.4936 GB, free: 11.56 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002959/0.2073, allocations: 295.1 kB / 0.4939 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.43e-05/0.2074, allocations: 55.2 kB / 0.4939 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.775e-05/0.2075, allocations: 41.69 kB / 0.494 GB, free: 11.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.2077, allocations: 354.8 kB / 0.4943 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.2079, allocations: 144.2 kB / 0.4944 GB, free: 10.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004096/0.2084, allocations: 312.9 kB / 0.4947 GB, free: 10.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006108/0.209, allocations: 457.1 kB / 0.4952 GB, free: 9.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.209, allocations: 4 kB / 0.4952 GB, free: 9.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008568/0.2099, allocations: 0.5263 MB / 0.4957 GB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002669/0.2102, allocations: 259.5 kB / 0.4959 GB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.2102, allocations: 4 kB / 0.4959 GB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.2102, allocations: 4 kB / 0.496 GB, free: 8.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.2105, allocations: 83.89 kB / 0.496 GB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.2106, allocations: 7.938 kB / 0.496 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.211, allocations: 59.42 kB / 0.4961 GB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.489e-05/0.2111, allocations: 20 kB / 0.4961 GB, free: 8.723 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.2111, allocations: 4 kB / 0.4961 GB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007815/0.2119, allocations: 485.1 kB / 0.4966 GB, free: 8.238 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.2119, allocations: 7.938 kB / 0.4966 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.2119, allocations: 8.594 kB / 0.4966 GB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.2122, allocations: 79.84 kB / 0.4967 GB, free: 8.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.2122, allocations: 15.92 kB / 0.4967 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003258/0.2125, allocations: 47.53 kB / 0.4967 GB, free: 8.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.2126, allocations: 27.97 kB / 0.4968 GB, free: 8.055 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 (p_table.nextEventScaled,p_table.nextEvent,$PRE.p_table.nextEvent,p_table.last,p_table.b,p_table.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.000368/0.2129, allocations: 298.7 kB / 0.497 GB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.213, allocations: 51.38 kB / 0.4971 GB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006132/0.2137, allocations: 363.3 kB / 0.4974 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.2137, allocations: 4 kB / 0.4974 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2137, allocations: 0 / 0.4974 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2137, allocations: 7.922 kB / 0.4975 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004726/0.2142, allocations: 413.3 kB / 0.4978 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2142, allocations: 0 / 0.4978 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.2143, allocations: 27.92 kB / 0.4979 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2143, allocations: 0 / 0.4979 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.2143, allocations: 12 kB / 0.4979 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.2143, allocations: 0 / 0.4979 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.2144, allocations: 3.938 kB / 0.4979 GB, free: 6.816 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004978/0.2149, allocations: 371.5 kB / 0.4982 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.215, allocations: 136.4 kB / 0.4984 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.054e-05/0.2151, allocations: 4 kB / 0.4984 GB, free: 6.273 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.2153, allocations: 19.98 kB / 0.4984 GB, free: 6.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.2154, allocations: 15.97 kB / 0.4984 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.171e-05/0.2154, allocations: 11.94 kB / 0.4984 GB, free: 6.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004482/0.2159, allocations: 370.8 kB / 0.4988 GB, free: 5.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2159, allocations: 0 / 0.4988 GB, free: 5.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001181/0.2171, allocations: 427.6 kB / 0.4992 GB, free: 5.449 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 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.001008/0.2181, allocations: 413.6 kB / 0.4996 GB, free: 5.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009811/0.2191, allocations: 0.6757 MB / 0.5002 GB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.2191, allocations: 4 kB / 0.5002 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.2193, allocations: 187.9 kB / 0.5004 GB, free: 4.145 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.2203, allocations: 194.6 kB / 0.5006 GB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.2217, allocations: 1.014 MB / 0.5016 GB, free: 2.914 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004349/0.2222, allocations: 0.8437 MB / 0.5024 GB, free: 2.039 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005243/0.2227, allocations: 164.2 kB / 0.5026 GB, free: 1.879 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.802e-05/0.2228, allocations: 43.44 kB / 0.5026 GB, free: 1.84 MB / 382.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2228, allocations: 0 / 0.5026 GB, free: 1.84 MB / 382.1 MB Notification: Performance of Templates: time 0.274/0.4968, allocations: 11.66 MB / 0.514 GB, free: 46.48 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches