Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00231/0.00231, allocations: 183.8 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.212/2.212, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 97.28 kB / 270.9 MB, free: 8.359 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5643/0.5643, allocations: 43.55 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005117/0.0005116, allocations: 16 kB / 431.4 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1369, allocations: 58.84 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe): time 0.01974/0.1567, allocations: 10.75 MB / 0.4892 GB, free: 208 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3426/0.4995, allocations: 4.736 MB / 0.4939 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007689/0.5003, allocations: 21.97 kB / 0.4939 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.5011, allocations: 164.5 kB / 0.494 GB, free: 35.03 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.5037, allocations: 0.5651 MB / 0.4946 GB, free: 35 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005799/0.5095, allocations: 1.203 MB / 0.4958 GB, free: 34.93 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00195/0.5115, allocations: 0.6781 MB / 0.4964 GB, free: 34.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007081/0.5122, allocations: 263.4 kB / 0.4967 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.5135, allocations: 417.6 kB / 0.4971 GB, free: 34.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007874/0.5143, allocations: 308.1 kB / 0.4974 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000108/0.5145, allocations: 20.66 kB / 0.4974 GB, free: 34.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/0.5175, allocations: 0.9499 MB / 0.4983 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003342/0.5179, allocations: 137.4 kB / 0.4984 GB, free: 34.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003075/0.5182, allocations: 124.1 kB / 0.4986 GB, free: 34.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.5208, allocations: 0.9081 MB / 0.4994 GB, free: 34.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5209, allocations: 4 kB / 0.4994 GB, free: 34.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5209, allocations: 0 / 0.4994 GB, free: 34.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.473e-05/0.5209, allocations: 2 kB / 0.4995 GB, free: 34.63 MB / 378.7 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.002373/0.5233, allocations: 0.8538 MB / 0.5003 GB, free: 34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.5234, allocations: 8.25 kB / 0.5003 GB, free: 34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004459/0.5238, allocations: 67.62 kB / 0.5004 GB, free: 33.97 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.5248, allocations: 414.7 kB / 0.5008 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.426e-05/0.5249, allocations: 24.84 kB / 0.5008 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.83e-05/0.525, allocations: 28.42 kB / 0.5008 GB, free: 33.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5264, allocations: 0.5229 MB / 0.5013 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.5264, allocations: 4.594 kB / 0.5013 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.141e-05/0.5265, allocations: 12.53 kB / 0.5013 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.037e-05/0.5266, allocations: 30.47 kB / 0.5014 GB, free: 33.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001112/0.5277, allocations: 462.6 kB / 0.5018 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004743/0.5325, allocations: 2.294 MB / 0.504 GB, free: 32.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006385/0.5332, allocations: 233.1 kB / 0.5043 GB, free: 32.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.5349, allocations: 1.029 MB / 0.5053 GB, free: 31.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004716/0.5354, allocations: 219.3 kB / 0.5055 GB, free: 31.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.926e-06/0.5355, allocations: 0 / 0.5055 GB, free: 31.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.001041/0.5365, allocations: 467.7 kB / 0.5059 GB, free: 31.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.141e-05/0.5366, allocations: 234.3 kB / 0.5061 GB, free: 30.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008181/0.5375, allocations: 0.5226 MB / 0.5067 GB, free: 30.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.626e-05/0.5375, allocations: 29.58 kB / 0.5067 GB, free: 30.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.5377, allocations: 325.3 kB / 0.507 GB, free: 30.49 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.428e-05/0.5378, allocations: 59.45 kB / 0.5071 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.5378, allocations: 5.969 kB / 0.5071 GB, free: 30.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.177e-05/0.5379, allocations: 331.6 kB / 0.5074 GB, free: 30.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003142/0.5382, allocations: 126.1 kB / 0.5075 GB, free: 30.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.5387, allocations: 315.9 kB / 0.5078 GB, free: 29.92 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.5392, allocations: 198.2 kB / 0.508 GB, free: 29.88 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.653e-06/0.5392, allocations: 1.125 kB / 0.508 GB, free: 29.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001226/0.5405, allocations: 0.4934 MB / 0.5085 GB, free: 29.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004014/0.5409, allocations: 1.776 MB / 0.5102 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.5409, allocations: 4.875 kB / 0.5102 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.088e-05/0.541, allocations: 10.41 kB / 0.5102 GB, free: 27.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.5416, allocations: 82.47 kB / 0.5103 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.5416, allocations: 11.41 kB / 0.5103 GB, free: 27.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007935/0.5424, allocations: 61.23 kB / 0.5104 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/0.5425, allocations: 16.31 kB / 0.5104 GB, free: 27.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.5425, allocations: 7.469 kB / 0.5104 GB, free: 27.74 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/0.5438, allocations: 476.2 kB / 0.5108 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5438, allocations: 5.062 kB / 0.5108 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.5438, allocations: 6.938 kB / 0.5109 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005385/0.5444, allocations: 77.92 kB / 0.5109 GB, free: 27.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.5444, allocations: 13.25 kB / 0.5109 GB, free: 27.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005001/0.5449, allocations: 48.94 kB / 0.511 GB, free: 27.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.963e-05/0.545, allocations: 22.75 kB / 0.511 GB, free: 27.5 MB / 378.7 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 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004218/0.5454, allocations: 310.7 kB / 0.5113 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.5456, allocations: 47.91 kB / 0.5113 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/0.5465, allocations: 367.9 kB / 0.5117 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.5465, allocations: 3.094 kB / 0.5117 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5465, allocations: 0 / 0.5117 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.5466, allocations: 3.375 kB / 0.5117 GB, free: 27.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006402/0.5472, allocations: 417.5 kB / 0.5121 GB, free: 26.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5472, allocations: 0 / 0.5121 GB, free: 26.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.5475, allocations: 30.03 kB / 0.5121 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.5475, allocations: 0 / 0.5121 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.774e-05/0.5475, allocations: 3.031 kB / 0.5121 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.5475, allocations: 0 / 0.5121 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.5475, allocations: 7.938 kB / 0.5121 GB, free: 26.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007438/0.5483, allocations: 367.1 kB / 0.5125 GB, free: 26.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.5485, allocations: 138 kB / 0.5126 GB, free: 26.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.5486, allocations: 7.312 kB / 0.5126 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004472/0.5491, allocations: 12.78 kB / 0.5126 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.5492, allocations: 13.75 kB / 0.5127 GB, free: 26.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.663e-05/0.5492, allocations: 17.52 kB / 0.5127 GB, free: 26.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005858/0.5498, allocations: 367.5 kB / 0.513 GB, free: 26.23 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5498, allocations: 0 / 0.513 GB, free: 26.23 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001685/0.5515, allocations: 427.6 kB / 0.5134 GB, free: 26.15 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001488/0.553, allocations: 404.4 kB / 0.5138 GB, free: 25.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001453/0.5545, allocations: 0.664 MB / 0.5145 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.96e-06/0.5545, allocations: 0 / 0.5145 GB, free: 25.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.5548, allocations: 187.1 kB / 0.5146 GB, free: 25.54 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/0.5565, allocations: 185 kB / 0.5148 GB, free: 25.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.5583, allocations: 0.9977 MB / 0.5158 GB, free: 24.95 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.5587, allocations: 0.865 MB / 0.5166 GB, free: 24.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.559, allocations: 38.84 kB / 0.5167 GB, free: 24.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.559, allocations: 3.938 kB / 0.5167 GB, free: 24.21 MB / 378.7 MB Notification: Performance of Templates: time 0.02394/0.5829, allocations: 10.15 MB / 0.5266 GB, free: 23.06 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches