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.0009679/0.0009678, allocations: 99.02 kB / 18.01 MB, free: 5.734 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.001017/0.001017, allocations: 180.8 kB / 18.91 MB, free: 4.871 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.365/1.365, allocations: 223.3 MB / 243 MB, free: 88 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.1956/0.1956, allocations: 44.24 MB / 338.3 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003119/0.0003119, allocations: 11.98 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 61.92 MB / 472.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.0133/0.1163, allocations: 12.35 MB / 485.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007487/0.1238, allocations: 5.617 MB / 490.9 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/0.1244, allocations: 19.81 kB / 490.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006526/0.1251, allocations: 175 kB / 491.1 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00167/0.1268, allocations: 0.6418 MB / 491.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003317/0.1301, allocations: 1.301 MB / 493 MB, free: 9.191 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001866/0.132, allocations: 1.727 MB / 494.7 MB, free: 7.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005703/0.1326, allocations: 285.4 kB / 495 MB, free: 7.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009067/0.1335, allocations: 430.3 kB / 495.4 MB, free: 6.754 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.1343, allocations: 454.4 kB / 495.9 MB, free: 6.309 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001071/0.1344, allocations: 24 kB / 495.9 MB, free: 6.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001746/0.1362, allocations: 1.041 MB / 497 MB, free: 5.242 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00024/0.1364, allocations: 143.5 kB / 497.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003638/0.1368, allocations: 284.4 kB / 497.4 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001263/0.1381, allocations: 0.9121 MB / 498.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1381, allocations: 0 / 498.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1381, allocations: 0 / 498.3 MB, free: 3.902 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.1381, allocations: 4 kB / 498.3 MB, free: 3.898 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.001686/0.1398, allocations: 0.8456 MB / 499.1 MB, free: 3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.1399, allocations: 11.97 kB / 499.1 MB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/0.1402, allocations: 64.28 kB / 499.2 MB, free: 2.926 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.1408, allocations: 441.4 kB / 499.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.1409, allocations: 24.56 kB / 499.7 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.207e-05/0.1409, allocations: 31.98 kB / 499.7 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008573/0.1418, allocations: 0.5146 MB / 0.4885 GB, free: 1.852 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1418, allocations: 7.938 kB / 0.4885 GB, free: 1.844 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.166e-05/0.1419, allocations: 16 kB / 0.4885 GB, free: 1.828 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.1419, allocations: 28.55 kB / 0.4885 GB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007571/0.1427, allocations: 469.9 kB / 0.489 GB, free: 1.344 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003318/0.146, allocations: 2.265 MB / 0.4912 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004154/0.1465, allocations: 234.6 kB / 0.4914 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.1467, allocations: 136.7 kB / 0.4915 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.1479, allocations: 1.025 MB / 0.4925 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003178/0.1482, allocations: 224.3 kB / 0.4928 GB, free: 13.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.783e-06/0.1482, allocations: 0 / 0.4928 GB, free: 13.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006816/0.1489, allocations: 377.1 kB / 0.4931 GB, free: 12.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.149, allocations: 247.3 kB / 0.4934 GB, free: 12.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006001/0.1496, allocations: 0.5136 MB / 0.4939 GB, free: 11.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.794e-05/0.1497, allocations: 33.69 kB / 0.4939 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.1499, allocations: 291.1 kB / 0.4942 GB, free: 11.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/0.15, allocations: 55.2 kB / 0.4942 GB, free: 11.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.294e-05/0.15, allocations: 41.7 kB / 0.4943 GB, free: 11.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1502, allocations: 358.8 kB / 0.4946 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/0.1504, allocations: 132.3 kB / 0.4947 GB, free: 11.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003474/0.1508, allocations: 320.8 kB / 0.495 GB, free: 10.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005422/0.1513, allocations: 465.2 kB / 0.4955 GB, free: 10.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.1513, allocations: 0 / 0.4955 GB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000826/0.1522, allocations: 0.5301 MB / 0.496 GB, free: 9.586 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001659/0.1523, allocations: 251.5 kB / 0.4962 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.849e-06/0.1524, allocations: 4 kB / 0.4962 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.1524, allocations: 12 kB / 0.4963 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003126/0.1527, allocations: 79.89 kB / 0.4963 GB, free: 9.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.1527, allocations: 7.938 kB / 0.4963 GB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004106/0.1531, allocations: 59.42 kB / 0.4964 GB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/0.1532, allocations: 20 kB / 0.4964 GB, free: 9.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-06/0.1532, allocations: 4 kB / 0.4964 GB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007312/0.1539, allocations: 485.1 kB / 0.4969 GB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.154, allocations: 11.88 kB / 0.4969 GB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.154, allocations: 8 kB / 0.4969 GB, free: 8.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.1543, allocations: 75.91 kB / 0.497 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.1543, allocations: 8.531 kB / 0.497 GB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.1546, allocations: 63.5 kB / 0.497 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.34e-05/0.1547, allocations: 16 kB / 0.4971 GB, free: 8.426 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.0002775/0.155, allocations: 305.5 kB / 0.4973 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.155, allocations: 55.38 kB / 0.4974 GB, free: 8.059 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006092/0.1557, allocations: 361 kB / 0.4977 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.1557, allocations: 4 kB / 0.4977 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1557, allocations: 0 / 0.4977 GB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.1557, allocations: 7.922 kB / 0.4978 GB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.1561, allocations: 409.3 kB / 0.4981 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1561, allocations: 4 kB / 0.4981 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.1563, allocations: 31.92 kB / 0.4982 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1563, allocations: 0 / 0.4982 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.1563, allocations: 4 kB / 0.4982 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1563, allocations: 0 / 0.4982 GB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1563, allocations: 7.938 kB / 0.4982 GB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005045/0.1568, allocations: 371.5 kB / 0.4985 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/0.157, allocations: 132.4 kB / 0.4987 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.157, allocations: 11.94 kB / 0.4987 GB, free: 6.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.1573, allocations: 11.98 kB / 0.4987 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.1574, allocations: 19.98 kB / 0.4987 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1574, allocations: 4 kB / 0.4987 GB, free: 6.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004305/0.1578, allocations: 374.8 kB / 0.4991 GB, free: 6.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1578, allocations: 0 / 0.4991 GB, free: 6.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001133/0.159, allocations: 427.6 kB / 0.4995 GB, free: 5.82 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.001065/0.1601, allocations: 415.6 kB / 0.4999 GB, free: 5.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009934/0.1611, allocations: 0.6721 MB / 0.5005 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1611, allocations: 0 / 0.5005 GB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002045/0.1613, allocations: 187.3 kB / 0.5007 GB, free: 4.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.1623, allocations: 188.6 kB / 0.5009 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.1638, allocations: 1.054 MB / 0.5019 GB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003901/0.1642, allocations: 0.8437 MB / 0.5027 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.1643, allocations: 43.42 kB / 0.5028 GB, free: 2.332 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1643, allocations: 0 / 0.5028 GB, free: 2.332 MB / 382.1 MB Notification: Performance of Templates: time 0.2094/0.3737, allocations: 9.963 MB / 0.5125 GB, free: 47.37 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/StaticPipe/StaticPipe.csv","/var/lib/jenkins1/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