Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001159/0.001159, allocations: 111.6 kB / 17.09 MB, free: 5.934 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.001166/0.001166, allocations: 195.4 kB / 18.02 MB, free: 5.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2035/0.2035, allocations: 43.53 MB / 314.8 MB, free: 448 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 73.41 kB / 442.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1113/0.113, allocations: 57.8 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01495/0.1279, allocations: 12.58 MB / 0.5008 GB, free: 15.14 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007532/0.1355, allocations: 5.417 MB / 0.5061 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005959/0.1361, allocations: 23.88 kB / 0.5062 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008049/0.137, allocations: 206.7 kB / 0.5064 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002018/0.1391, allocations: 0.6881 MB / 0.507 GB, free: 8.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004126/0.1432, allocations: 1.559 MB / 0.5085 GB, free: 7.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001729/0.1449, allocations: 1.239 MB / 0.5098 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007112/0.1457, allocations: 317.2 kB / 0.5101 GB, free: 5.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001146/0.1468, allocations: 0.4984 MB / 0.5105 GB, free: 5.168 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009799/0.1478, allocations: 466.3 kB / 0.511 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001733/0.148, allocations: 44 kB / 0.511 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002062/0.1501, allocations: 1.049 MB / 0.5121 GB, free: 3.617 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000259/0.1504, allocations: 167.5 kB / 0.5122 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004275/0.1508, allocations: 282.7 kB / 0.5125 GB, free: 3.176 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002426/0.1532, allocations: 1.32 MB / 0.5138 GB, free: 1.852 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1532, allocations: 0 / 0.5138 GB, free: 1.852 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1533, allocations: 0 / 0.5138 GB, free: 1.852 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.01e-05/0.1533, allocations: 0 / 0.5138 GB, free: 1.852 MB / 398.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.002045/0.1553, allocations: 0.9738 MB / 0.5147 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.1554, allocations: 11.89 kB / 0.5147 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003078/0.1557, allocations: 72.55 kB / 0.5148 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007479/0.1565, allocations: 465.7 kB / 0.5153 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.813e-05/0.1565, allocations: 20.56 kB / 0.5153 GB, free: 224 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.1566, allocations: 31.98 kB / 0.5153 GB, free: 192 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008773/0.1575, allocations: 0.5224 MB / 0.5158 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.1575, allocations: 4 kB / 0.5158 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/0.1575, allocations: 15.98 kB / 0.5158 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.636e-05/0.1576, allocations: 28.55 kB / 0.5159 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007529/0.1584, allocations: 461.9 kB / 0.5163 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003338/0.1617, allocations: 2.246 MB / 0.5185 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004399/0.1622, allocations: 246.5 kB / 0.5187 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.1624, allocations: 144.6 kB / 0.5189 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001175/0.1636, allocations: 1.018 MB / 0.5199 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.1639, allocations: 224.4 kB / 0.5201 GB, free: 10.96 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.733e-06/0.1639, allocations: 0 / 0.5201 GB, free: 10.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006999/0.1646, allocations: 381.5 kB / 0.5204 GB, free: 10.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.1648, allocations: 239.3 kB / 0.5207 GB, free: 10.29 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006097/0.1654, allocations: 0.5176 MB / 0.5212 GB, free: 9.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.248e-05/0.1654, allocations: 29.7 kB / 0.5212 GB, free: 9.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.1656, allocations: 299.6 kB / 0.5215 GB, free: 9.434 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.1657, allocations: 59.59 kB / 0.5215 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.1659, allocations: 97.62 kB / 0.5216 GB, free: 9.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.166, allocations: 358.8 kB / 0.522 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.1663, allocations: 129.2 kB / 0.5221 GB, free: 8.785 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003879/0.1667, allocations: 324.7 kB / 0.5224 GB, free: 8.391 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.1672, allocations: 469.2 kB / 0.5229 GB, free: 7.859 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1673, allocations: 3.938 kB / 0.5229 GB, free: 7.855 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008683/0.1681, allocations: 0.5376 MB / 0.5234 GB, free: 7.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.1682, allocations: 37.7 kB / 0.5234 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.1682, allocations: 4 kB / 0.5234 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1682, allocations: 4 kB / 0.5234 GB, free: 7.254 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003214/0.1686, allocations: 91.89 kB / 0.5235 GB, free: 7.164 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.1686, allocations: 4 kB / 0.5235 GB, free: 7.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.169, allocations: 64.05 kB / 0.5236 GB, free: 7.098 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.289e-05/0.169, allocations: 20 kB / 0.5236 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003606/0.1694, allocations: 268.5 kB / 0.5239 GB, free: 6.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003375/0.1698, allocations: 317.6 kB / 0.5242 GB, free: 6.418 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005094/0.1703, allocations: 456.9 kB / 0.5246 GB, free: 5.895 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.25e-06/0.1703, allocations: 4 kB / 0.5246 GB, free: 5.891 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008247/0.1711, allocations: 0.5259 MB / 0.5251 GB, free: 5.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.1712, allocations: 41.69 kB / 0.5252 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.1712, allocations: 8 kB / 0.5252 GB, free: 5.301 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.1712, allocations: 4 kB / 0.5252 GB, free: 5.297 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002849/0.1715, allocations: 75.91 kB / 0.5252 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.1715, allocations: 11.94 kB / 0.5253 GB, free: 5.211 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/0.1719, allocations: 35.83 kB / 0.5253 GB, free: 5.176 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.658e-05/0.172, allocations: 20 kB / 0.5253 GB, free: 5.156 MB / 414.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.000182/0.1722, allocations: 249.5 kB / 0.5255 GB, free: 4.902 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/0.1722, allocations: 59.61 kB / 0.5256 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/0.1729, allocations: 367.4 kB / 0.5259 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.1729, allocations: 11.92 kB / 0.526 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1729, allocations: 0 / 0.526 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.173, allocations: 120.8 kB / 0.5261 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.1731, allocations: 8 kB / 0.5261 GB, free: 4.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1734, allocations: 8 kB / 0.5261 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.57e-05/0.1734, allocations: 19.92 kB / 0.5261 GB, free: 4.285 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005293/0.174, allocations: 441.7 kB / 0.5265 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005719/0.1745, allocations: 0.5039 MB / 0.527 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001678/0.1747, allocations: 119.9 kB / 0.5271 GB, free: 3.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004073/0.1751, allocations: 370.8 kB / 0.5275 GB, free: 2.824 MB / 414.1 MB Notification: Performance of Backend: time 5.51e-07/0.1751, allocations: 0 / 0.5275 GB, free: 2.824 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.1775, allocations: 1.015 MB / 0.5285 GB, free: 1.785 MB / 414.1 MB Notification: Performance of SimCode: time 0.001958/0.1795, allocations: 1.458 MB / 0.5299 GB, free: 272 kB / 414.1 MB Notification: Performance of Templates: time 0.2449/0.4244, allocations: 13.76 MB / 0.5433 GB, free: 38.46 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches