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.002195/0.002194, allocations: 181.4 kB / 13.66 MB, free: 1.664 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.128/2.128, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001079/0.001079, allocations: 82.77 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.273/0.273, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.463e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 58.85 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/1.229, allocations: 316.6 MB / 0.782 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.23, allocations: 88.8 kB / 0.7821 GB, free: 107 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.3509/1.581, allocations: 97.53 MB / 0.8773 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/1.581, allocations: 0 / 0.8773 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.672e-05/1.581, allocations: 15.98 kB / 0.8774 GB, free: 16.45 MB / 0.4948 GB 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.002096/1.583, allocations: 0.8239 MB / 0.8782 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.583, allocations: 8.031 kB / 0.8782 GB, free: 15.57 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004055/1.583, allocations: 67.28 kB / 0.8782 GB, free: 15.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/1.585, allocations: 463.9 kB / 0.8787 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/1.585, allocations: 20.56 kB / 0.8787 GB, free: 14.99 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.821e-05/1.585, allocations: 27.98 kB / 0.8787 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/1.586, allocations: 0.5202 MB / 0.8792 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/1.586, allocations: 4 kB / 0.8792 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/1.586, allocations: 12 kB / 0.8793 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.097e-05/1.586, allocations: 24.55 kB / 0.8793 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/1.587, allocations: 450.1 kB / 0.8797 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/1.592, allocations: 2.258 MB / 0.8819 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005577/1.592, allocations: 222.5 kB / 0.8821 GB, free: 11.29 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002786/1.593, allocations: 132.7 kB / 0.8822 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001692/1.594, allocations: 1.076 MB / 0.8833 GB, free: 9.965 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003743/1.595, allocations: 208.4 kB / 0.8835 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.534e-06/1.595, allocations: 4 kB / 0.8835 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0007808/1.596, allocations: 298.8 kB / 0.8838 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/1.596, allocations: 235.3 kB / 0.884 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007635/1.596, allocations: 467.8 kB / 0.8845 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.57e-05/1.596, allocations: 29.7 kB / 0.8845 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/1.597, allocations: 320.8 kB / 0.8848 GB, free: 8.324 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.926e-05/1.597, allocations: 59.19 kB / 0.8848 GB, free: 8.266 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.423e-05/1.597, allocations: 12 kB / 0.8849 GB, free: 8.254 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.935e-05/1.597, allocations: 326.8 kB / 0.8852 GB, free: 7.926 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/1.597, allocations: 128.4 kB / 0.8853 GB, free: 7.801 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004167/1.598, allocations: 288 kB / 0.8856 GB, free: 7.441 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004179/1.598, allocations: 202.5 kB / 0.8858 GB, free: 7.234 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/1.598, allocations: 3.938 kB / 0.8858 GB, free: 7.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001098/1.599, allocations: 486.1 kB / 0.8862 GB, free: 6.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/1.6, allocations: 1.684 MB / 0.8879 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/1.6, allocations: 4 kB / 0.8879 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/1.6, allocations: 8 kB / 0.8879 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/1.6, allocations: 75.83 kB / 0.888 GB, free: 4.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/1.6, allocations: 11.98 kB / 0.888 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007763/1.601, allocations: 67.36 kB / 0.888 GB, free: 4.762 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.954e-05/1.601, allocations: 16 kB / 0.888 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.601, allocations: 10.77 kB / 0.8881 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/1.602, allocations: 469 kB / 0.8885 GB, free: 4.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/1.602, allocations: 4 kB / 0.8885 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/1.602, allocations: 8.562 kB / 0.8885 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005125/1.603, allocations: 71.84 kB / 0.8886 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.229e-05/1.603, allocations: 15.98 kB / 0.8886 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005161/1.603, allocations: 43.67 kB / 0.8886 GB, free: 4.133 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/1.603, allocations: 20 kB / 0.8887 GB, free: 4.113 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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.0001972/1.604, allocations: 169.8 kB / 0.8888 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/1.604, allocations: 51.39 kB / 0.8889 GB, free: 3.887 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008898/1.605, allocations: 358.6 kB / 0.8892 GB, free: 3.527 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/1.605, allocations: 4 kB / 0.8892 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/1.605, allocations: 0 / 0.8892 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.605, allocations: 0 / 0.8892 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/1.605, allocations: 409.2 kB / 0.8896 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/1.605, allocations: 0 / 0.8896 GB, free: 3.074 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002192/1.606, allocations: 27.94 kB / 0.8896 GB, free: 3.047 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.233e-06/1.606, allocations: 3.984 kB / 0.8896 GB, free: 3.043 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/1.606, allocations: 11.95 kB / 0.8897 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.606, allocations: 0 / 0.8897 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/1.606, allocations: 0 / 0.8897 GB, free: 3.031 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007395/1.606, allocations: 359.3 kB / 0.89 GB, free: 2.656 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/1.607, allocations: 136.4 kB / 0.8901 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/1.607, allocations: 11.95 kB / 0.8901 GB, free: 2.492 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/1.607, allocations: 15.98 kB / 0.8902 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/1.607, allocations: 19.92 kB / 0.8902 GB, free: 2.457 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/1.607, allocations: 8 kB / 0.8902 GB, free: 2.449 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005767/1.608, allocations: 369.5 kB / 0.8905 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.51e-07/1.608, allocations: 0 / 0.8905 GB, free: 2.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001776/1.61, allocations: 479.3 kB / 0.891 GB, free: 1.621 MB / 0.4948 GB 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) * 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.001695/1.612, allocations: 0.5087 MB / 0.8915 GB, free: 1.105 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001391/1.613, allocations: 0.6328 MB / 0.8921 GB, free: 460 kB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/1.613, allocations: 0 / 0.8921 GB, free: 460 kB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002652/1.613, allocations: 179.3 kB / 0.8923 GB, free: 268 kB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/1.615, allocations: 192.8 kB / 0.8925 GB, free: 76 kB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3176/1.933, allocations: 0.5482 MB / 0.893 GB, free: 133.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/1.933, allocations: 0.8536 MB / 0.8938 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/1.933, allocations: 44.08 kB / 0.8939 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/1.933, allocations: 0 / 0.8939 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.02828/1.962, allocations: 10.46 MB / 0.9041 GB, free: 132.1 MB / 0.4948 GB 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