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.001288/0.001288, allocations: 109.2 kB / 17.09 MB, free: 6.008 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.001409/0.001409, allocations: 199.3 kB / 18.02 MB, free: 5.09 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.323/1.323, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2058/0.2058, allocations: 43.53 MB / 314.8 MB, free: 460 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.00157/0.00157, allocations: 67.89 kB / 442.5 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1078, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01523/0.1231, allocations: 12.59 MB / 0.5008 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007506/0.1307, allocations: 5.417 MB / 0.5061 GB, free: 9.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006246/0.1313, allocations: 23.88 kB / 0.5062 GB, free: 9.707 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007946/0.1322, allocations: 198.7 kB / 0.5063 GB, free: 9.512 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.1341, allocations: 0.692 MB / 0.507 GB, free: 8.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003798/0.1379, allocations: 1.555 MB / 0.5085 GB, free: 7.258 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001593/0.1395, allocations: 1.235 MB / 0.5097 GB, free: 6.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006053/0.1402, allocations: 317.3 kB / 0.51 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1412, allocations: 0.4984 MB / 0.5105 GB, free: 5.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008838/0.1421, allocations: 462.3 kB / 0.511 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.1422, allocations: 44 kB / 0.511 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.1444, allocations: 1.061 MB / 0.5121 GB, free: 3.645 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.1447, allocations: 167.4 kB / 0.5122 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004125/0.1451, allocations: 266.8 kB / 0.5125 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.1473, allocations: 1.317 MB / 0.5138 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.1473, allocations: 0 / 0.5138 GB, free: 1.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1473, allocations: 0 / 0.5138 GB, free: 1.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.823e-05/0.1473, allocations: 0 / 0.5138 GB, free: 1.898 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.001996/0.1493, allocations: 0.9443 MB / 0.5147 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.1494, allocations: 15.89 kB / 0.5147 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002915/0.1497, allocations: 68.27 kB / 0.5148 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006991/0.1504, allocations: 465.2 kB / 0.5152 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.699e-05/0.1504, allocations: 28.55 kB / 0.5152 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.1505, allocations: 24 kB / 0.5152 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008655/0.1514, allocations: 0.5263 MB / 0.5158 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.1514, allocations: 0 / 0.5158 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.924e-05/0.1514, allocations: 12 kB / 0.5158 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.054e-05/0.1515, allocations: 24.55 kB / 0.5158 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007026/0.1522, allocations: 469.9 kB / 0.5162 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003169/0.1554, allocations: 2.257 MB / 0.5184 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.1558, allocations: 242.1 kB / 0.5187 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002004/0.156, allocations: 132.7 kB / 0.5188 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/0.1572, allocations: 1.014 MB / 0.5198 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.1575, allocations: 220.4 kB / 0.52 GB, free: 11.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.1575, allocations: 0 / 0.52 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006717/0.1582, allocations: 397.1 kB / 0.5204 GB, free: 10.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/0.1583, allocations: 239.3 kB / 0.5206 GB, free: 10.37 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.1589, allocations: 0.5136 MB / 0.5211 GB, free: 9.848 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/0.159, allocations: 37.64 kB / 0.5212 GB, free: 9.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002261/0.1592, allocations: 283.1 kB / 0.5214 GB, free: 9.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.622e-05/0.1592, allocations: 59.25 kB / 0.5215 GB, free: 9.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.1594, allocations: 97.58 kB / 0.5216 GB, free: 9.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1595, allocations: 358.8 kB / 0.5219 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.1598, allocations: 141.2 kB / 0.522 GB, free: 8.863 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000341/0.1601, allocations: 316.7 kB / 0.5223 GB, free: 8.477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.1607, allocations: 469.1 kB / 0.5228 GB, free: 7.945 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.1607, allocations: 0 / 0.5228 GB, free: 7.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008101/0.1615, allocations: 0.5337 MB / 0.5233 GB, free: 7.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.301e-05/0.1615, allocations: 41.69 kB / 0.5234 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.1616, allocations: 4 kB / 0.5234 GB, free: 7.348 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1616, allocations: 11.94 kB / 0.5234 GB, free: 7.336 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.1619, allocations: 75.97 kB / 0.5234 GB, free: 7.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/0.1619, allocations: 15.94 kB / 0.5235 GB, free: 7.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003909/0.1623, allocations: 59.36 kB / 0.5235 GB, free: 7.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.079e-05/0.1624, allocations: 20.34 kB / 0.5235 GB, free: 7.168 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003387/0.1627, allocations: 268.5 kB / 0.5238 GB, free: 6.898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003586/0.1631, allocations: 313.7 kB / 0.5241 GB, free: 6.512 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005066/0.1636, allocations: 449 kB / 0.5245 GB, free: 5.996 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.1636, allocations: 4 kB / 0.5245 GB, free: 5.992 MB / 414.1 MB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.0008458/0.1645, allocations: 0.5182 MB / 0.525 GB, free: 5.461 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.817e-05/0.1645, allocations: 45.78 kB / 0.5251 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1645, allocations: 4 kB / 0.5251 GB, free: 5.406 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.1646, allocations: 8 kB / 0.5251 GB, free: 5.398 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002746/0.1648, allocations: 79.84 kB / 0.5252 GB, free: 5.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1649, allocations: 7.984 kB / 0.5252 GB, free: 5.312 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003929/0.1653, allocations: 47.67 kB / 0.5252 GB, free: 5.266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.615e-05/0.1653, allocations: 16 kB / 0.5252 GB, free: 5.25 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.0001944/0.1655, allocations: 245.6 kB / 0.5255 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.194e-05/0.1656, allocations: 59.28 kB / 0.5255 GB, free: 4.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005982/0.1662, allocations: 371.5 kB / 0.5259 GB, free: 4.562 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1662, allocations: 3.938 kB / 0.5259 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1662, allocations: 0 / 0.5259 GB, free: 4.559 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.1663, allocations: 120.5 kB / 0.526 GB, free: 4.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.685e-05/0.1664, allocations: 11.84 kB / 0.526 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.1667, allocations: 12 kB / 0.526 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.998e-05/0.1667, allocations: 11.98 kB / 0.526 GB, free: 4.387 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000558/0.1673, allocations: 449.8 kB / 0.5265 GB, free: 3.922 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005319/0.1678, allocations: 0.4958 MB / 0.5269 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001646/0.168, allocations: 120 kB / 0.5271 GB, free: 3.285 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003963/0.1684, allocations: 370.8 kB / 0.5274 GB, free: 2.926 MB / 414.1 MB Notification: Performance of Backend: time 6.21e-07/0.1684, allocations: 0 / 0.5274 GB, free: 2.926 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.1707, allocations: 0.9906 MB / 0.5284 GB, free: 1.91 MB / 414.1 MB Notification: Performance of SimCode: time 0.002018/0.1727, allocations: 1.443 MB / 0.5298 GB, free: 416 kB / 414.1 MB Notification: Performance of Templates: time 0.2222/0.3949, allocations: 13.98 MB / 0.5434 GB, free: 38.28 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