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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.0009485/0.0009488, allocations: 175.9 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0007536/0.0007534, allocations: 88.81 kB / 271.3 MB, free: 8.238 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.4173/0.4173, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 15.98 kB / 432.6 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 58.84 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8683/1.012, allocations: 316.9 MB / 0.7894 GB, free: 53.45 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.012, allocations: 87.58 kB / 0.7895 GB, free: 53.41 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5302/1.543, allocations: 97.35 MB / 0.8845 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.176e-06/1.543, allocations: 3.25 kB / 0.8845 GB, free: 127.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.951e-05/1.543, allocations: 10.53 kB / 0.8845 GB, free: 127.5 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.002409/1.545, allocations: 0.8828 MB / 0.8854 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/1.545, allocations: 9.656 kB / 0.8854 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004089/1.546, allocations: 60.5 kB / 0.8855 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009952/1.547, allocations: 483.3 kB / 0.8859 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/1.547, allocations: 25.22 kB / 0.886 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/1.547, allocations: 28.5 kB / 0.886 GB, free: 126.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008389/1.548, allocations: 0.5266 MB / 0.8865 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/1.548, allocations: 0 / 0.8865 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.519e-05/1.548, allocations: 16.52 kB / 0.8865 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-05/1.548, allocations: 33.27 kB / 0.8866 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006755/1.548, allocations: 454.8 kB / 0.887 GB, free: 126.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/1.551, allocations: 2.238 MB / 0.8892 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003685/1.552, allocations: 224.4 kB / 0.8894 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001794/1.552, allocations: 137.9 kB / 0.8895 GB, free: 125.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.553, allocations: 1.007 MB / 0.8905 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002586/1.553, allocations: 222.7 kB / 0.8907 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/1.553, allocations: 0 / 0.8907 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006302/1.554, allocations: 375.3 kB / 0.8911 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.282e-05/1.554, allocations: 238.1 kB / 0.8913 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/1.555, allocations: 0.5215 MB / 0.8918 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/1.555, allocations: 31.67 kB / 0.8918 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001544/1.555, allocations: 281.2 kB / 0.8921 GB, free: 123.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/1.555, allocations: 57.61 kB / 0.8922 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.817e-05/1.555, allocations: 11.59 kB / 0.8922 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.497e-05/1.555, allocations: 357.8 kB / 0.8925 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/1.555, allocations: 123.2 kB / 0.8926 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/1.555, allocations: 301.5 kB / 0.8929 GB, free: 123 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/1.556, allocations: 434.6 kB / 0.8933 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.556, allocations: 3.375 kB / 0.8933 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007028/1.557, allocations: 0.5128 MB / 0.8938 GB, free: 122.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/1.557, allocations: 239.5 kB / 0.8941 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/1.557, allocations: 5.719 kB / 0.8941 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.557, allocations: 10.41 kB / 0.8941 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/1.557, allocations: 75.77 kB / 0.8942 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/1.557, allocations: 11.45 kB / 0.8942 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004107/1.557, allocations: 60.81 kB / 0.8942 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/1.558, allocations: 24.38 kB / 0.8942 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/1.558, allocations: 3 kB / 0.8942 GB, free: 122.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000622/1.558, allocations: 469.9 kB / 0.8947 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.558, allocations: 3.188 kB / 0.8947 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-06/1.558, allocations: 6.344 kB / 0.8947 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002418/1.558, allocations: 79.73 kB / 0.8948 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.936e-06/1.558, allocations: 10.73 kB / 0.8948 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/1.559, allocations: 58.42 kB / 0.8948 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.82e-05/1.559, allocations: 21.19 kB / 0.8949 GB, free: 122.3 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 () * Number of clocked 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.0002447/1.559, allocations: 300.9 kB / 0.8952 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/1.559, allocations: 48.03 kB / 0.8952 GB, free: 122 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000523/1.56, allocations: 368.2 kB / 0.8956 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/1.56, allocations: 5.188 kB / 0.8956 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.56, allocations: 7.25 kB / 0.8956 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.56, allocations: 3.844 kB / 0.8956 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003908/1.56, allocations: 408.7 kB / 0.896 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/1.56, allocations: 0 / 0.896 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/1.56, allocations: 29.7 kB / 0.896 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/1.56, allocations: 0 / 0.896 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/1.56, allocations: 9.344 kB / 0.896 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/1.56, allocations: 3.219 kB / 0.896 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.56, allocations: 0 / 0.896 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000427/1.561, allocations: 365.8 kB / 0.8963 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/1.561, allocations: 135.3 kB / 0.8965 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/1.561, allocations: 9.406 kB / 0.8965 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002375/1.561, allocations: 23.89 kB / 0.8965 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/1.561, allocations: 11.7 kB / 0.8965 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/1.561, allocations: 12.94 kB / 0.8965 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003763/1.562, allocations: 370.3 kB / 0.8969 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.562, allocations: 0 / 0.8969 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001314/1.563, allocations: 478.4 kB / 0.8973 GB, free: 121.3 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) * 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.0009628/1.564, allocations: 0.5129 MB / 0.8978 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007627/1.565, allocations: 0.6359 MB / 0.8985 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.565, allocations: 0 / 0.8985 GB, free: 121 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/1.565, allocations: 181.5 kB / 0.8986 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008719/1.566, allocations: 192.8 kB / 0.8988 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/1.567, allocations: 0.9562 MB / 0.8998 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/1.567, allocations: 0.8386 MB / 0.9006 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005339/1.568, allocations: 165.8 kB / 0.9007 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.658e-05/1.568, allocations: 42.67 kB / 0.9008 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of SimCode: time 4.11e-07/1.568, allocations: 0 / 0.9008 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.02144/1.589, allocations: 12.26 MB / 0.9127 GB, free: 119 MB / 0.4948 GB 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","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches