Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.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.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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008093/0.0008093, allocations: 93.5 kB / 17.35 MB, free: 6.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 200.3 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.7 MB / 246.8 MB, free: 9.758 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2384/0.2384, allocations: 46.19 MB / 345.2 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003068, allocations: 8 kB / 419.5 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1435, allocations: 63.56 MB / 483.1 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01623/0.1598, allocations: 12.46 MB / 495.5 MB, free: 7.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008801/0.1686, allocations: 5.642 MB / 0.4894 GB, free: 1.941 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008429/0.1695, allocations: 23.75 kB / 0.4895 GB, free: 1.918 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008839/0.1704, allocations: 175 kB / 0.4896 GB, free: 1.746 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002321/0.1728, allocations: 0.6495 MB / 0.4903 GB, free: 1.094 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0041/0.1769, allocations: 1.299 MB / 0.4915 GB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00227/0.1792, allocations: 1.719 MB / 0.4932 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006289/0.1798, allocations: 273.3 kB / 0.4935 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.1809, allocations: 442.3 kB / 0.4939 GB, free: 13.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009494/0.1819, allocations: 462.2 kB / 0.4943 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.182, allocations: 24 kB / 0.4944 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.1844, allocations: 1.057 MB / 0.4954 GB, free: 11.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000277/0.1847, allocations: 143.5 kB / 0.4955 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004968/0.1852, allocations: 280.4 kB / 0.4958 GB, free: 11.42 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.188, allocations: 1.289 MB / 0.4971 GB, free: 10.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.188, allocations: 4 kB / 0.4971 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.188, allocations: 0 / 0.4971 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.408e-05/0.188, allocations: 0 / 0.4971 GB, free: 10.12 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002112/0.1902, allocations: 0.8496 MB / 0.4979 GB, free: 9.223 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.1902, allocations: 12.03 kB / 0.4979 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003557/0.1906, allocations: 64.27 kB / 0.498 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008119/0.1914, allocations: 433.6 kB / 0.4984 GB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.933e-05/0.1915, allocations: 24.55 kB / 0.4984 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.1915, allocations: 31.98 kB / 0.4984 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009574/0.1925, allocations: 0.5185 MB / 0.4989 GB, free: 8.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.1925, allocations: 4 kB / 0.4989 GB, free: 8.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.834e-05/0.1926, allocations: 19.94 kB / 0.499 GB, free: 8.055 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-05/0.1927, allocations: 28.55 kB / 0.499 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008026/0.1935, allocations: 461.9 kB / 0.4994 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/0.1972, allocations: 2.261 MB / 0.5016 GB, free: 5.172 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.1976, allocations: 242.5 kB / 0.5019 GB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002216/0.1979, allocations: 144.7 kB / 0.502 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00127/0.1991, allocations: 1.018 MB / 0.503 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003383/0.1995, allocations: 208.4 kB / 0.5032 GB, free: 3.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 2.795e-06/0.1995, allocations: 4 kB / 0.5032 GB, free: 3.406 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007026/0.2002, allocations: 388.6 kB / 0.5036 GB, free: 3.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.2003, allocations: 239.3 kB / 0.5038 GB, free: 2.727 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006194/0.201, allocations: 0.5214 MB / 0.5043 GB, free: 2.195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.573e-05/0.201, allocations: 29.7 kB / 0.5043 GB, free: 2.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002208/0.2013, allocations: 287.1 kB / 0.5046 GB, free: 1.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.642e-05/0.2013, allocations: 59.19 kB / 0.5047 GB, free: 1.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.355e-05/0.2014, allocations: 41.7 kB / 0.5047 GB, free: 1.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2016, allocations: 362.8 kB / 0.5051 GB, free: 1.406 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.2018, allocations: 128.4 kB / 0.5052 GB, free: 1.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.2021, allocations: 313.9 kB / 0.5055 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.2027, allocations: 463.8 kB / 0.5059 GB, free: 380 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.2027, allocations: 7.938 kB / 0.5059 GB, free: 372 kB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.2813/0.484, allocations: 0.5202 MB / 0.5064 GB, free: 41.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002076/0.4843, allocations: 254.7 kB / 0.5067 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.4843, allocations: 8.109 kB / 0.5067 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.4844, allocations: 7.969 kB / 0.5067 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.4848, allocations: 79.83 kB / 0.5068 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.997e-05/0.4848, allocations: 7.781 kB / 0.5068 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005755/0.4854, allocations: 60.64 kB / 0.5068 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.716e-05/0.4854, allocations: 25.33 kB / 0.5069 GB, free: 41.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.4855, allocations: 3.688 kB / 0.5069 GB, free: 41.18 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008882/0.4863, allocations: 481.8 kB / 0.5073 GB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.4864, allocations: 8.156 kB / 0.5073 GB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.4864, allocations: 7.219 kB / 0.5073 GB, free: 41.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002841/0.4867, allocations: 79.58 kB / 0.5074 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.4867, allocations: 8.391 kB / 0.5074 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003907/0.4871, allocations: 44.05 kB / 0.5075 GB, free: 41.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/0.4871, allocations: 21.33 kB / 0.5075 GB, free: 41.14 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.0003375/0.4875, allocations: 308.7 kB / 0.5078 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.629e-05/0.4876, allocations: 52.47 kB / 0.5078 GB, free: 40.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006963/0.4883, allocations: 361 kB / 0.5082 GB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.4883, allocations: 1.25 kB / 0.5082 GB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4883, allocations: 5.656 kB / 0.5082 GB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4883, allocations: 2.922 kB / 0.5082 GB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.4889, allocations: 411.4 kB / 0.5086 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.4889, allocations: 0 / 0.5086 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.489, allocations: 23.12 kB / 0.5086 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.489, allocations: 5.125 kB / 0.5086 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.4891, allocations: 8.219 kB / 0.5086 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4891, allocations: 3.938 kB / 0.5086 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4891, allocations: 1.078 kB / 0.5086 GB, free: 40.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005609/0.4896, allocations: 375.2 kB / 0.509 GB, free: 40.53 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.4898, allocations: 130.9 kB / 0.5091 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.11e-05/0.4899, allocations: 8.5 kB / 0.5091 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.4901, allocations: 16.52 kB / 0.5091 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.4902, allocations: 11.27 kB / 0.5091 GB, free: 40.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-05/0.4903, allocations: 18.42 kB / 0.5091 GB, free: 40.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006115/0.4909, allocations: 371.3 kB / 0.5095 GB, free: 40.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4909, allocations: 3.312 kB / 0.5095 GB, free: 40.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001324/0.4922, allocations: 431.8 kB / 0.5099 GB, free: 40.31 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.001103/0.4933, allocations: 415.5 kB / 0.5103 GB, free: 40.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001184/0.4945, allocations: 0.6749 MB / 0.511 GB, free: 40.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4945, allocations: 3.188 kB / 0.511 GB, free: 40.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.4948, allocations: 188 kB / 0.5111 GB, free: 39.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001057/0.4958, allocations: 188.6 kB / 0.5113 GB, free: 39.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001534/0.4974, allocations: 1.013 MB / 0.5123 GB, free: 39.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.4977, allocations: 0.8473 MB / 0.5131 GB, free: 38.75 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005969/0.4983, allocations: 168.3 kB / 0.5133 GB, free: 38.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4984, allocations: 42.55 kB / 0.5133 GB, free: 38.72 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4985, allocations: 0 / 0.5133 GB, free: 38.72 MB / 382.1 MB Notification: Performance of Templates: time 0.02337/0.5218, allocations: 11.71 MB / 0.5248 GB, free: 34.99 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches