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.0009257/0.0009254, allocations: 181.3 kB / 17.41 MB, free: 4.398 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.451/1.451, allocations: 205.4 MB / 223.6 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.0008032/0.0008034, allocations: 93.48 kB / 271.9 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.318/0.318, allocations: 43.56 MB / 363.8 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000382/0.0003821, allocations: 16 kB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 58.84 MB / 491.4 MB, free: 10.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.754/0.8666, allocations: 316.9 MB / 0.7894 GB, free: 54.09 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002245/0.8669, allocations: 87.58 kB / 0.7894 GB, free: 54.04 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.414/1.281, allocations: 97.35 MB / 0.8845 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.903e-06/1.281, allocations: 0 / 0.8845 GB, free: 127.7 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.015e-05/1.281, allocations: 20.33 kB / 0.8845 GB, free: 127.7 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.001802/1.283, allocations: 0.8806 MB / 0.8854 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/1.283, allocations: 9.469 kB / 0.8854 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/1.283, allocations: 65.41 kB / 0.8855 GB, free: 127.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007226/1.284, allocations: 482.8 kB / 0.8859 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/1.284, allocations: 23.62 kB / 0.8859 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.376e-05/1.284, allocations: 28.44 kB / 0.886 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007835/1.285, allocations: 0.5276 MB / 0.8865 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.285, allocations: 3.219 kB / 0.8865 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/1.285, allocations: 12.45 kB / 0.8865 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.245e-05/1.285, allocations: 28.03 kB / 0.8865 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006291/1.286, allocations: 459.8 kB / 0.887 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/1.288, allocations: 2.233 MB / 0.8891 GB, free: 125.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/1.289, allocations: 227.4 kB / 0.8894 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001868/1.289, allocations: 139.5 kB / 0.8895 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009239/1.29, allocations: 1.011 MB / 0.8905 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/1.29, allocations: 217.7 kB / 0.8907 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.114e-06/1.29, allocations: 0 / 0.8907 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006062/1.291, allocations: 373 kB / 0.891 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.492e-05/1.291, allocations: 244.7 kB / 0.8913 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005305/1.291, allocations: 0.5202 MB / 0.8918 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/1.291, allocations: 32.77 kB / 0.8918 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/1.291, allocations: 279 kB / 0.8921 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/1.291, allocations: 61.92 kB / 0.8921 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/1.291, allocations: 7.125 kB / 0.8921 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001105/1.292, allocations: 358 kB / 0.8925 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/1.292, allocations: 125.4 kB / 0.8926 GB, free: 123.4 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002644/1.292, allocations: 296 kB / 0.8929 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/1.293, allocations: 436.5 kB / 0.8933 GB, free: 123 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/1.293, allocations: 3.25 kB / 0.8933 GB, free: 123 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007313/1.293, allocations: 0.5096 MB / 0.8938 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/1.293, allocations: 239.4 kB / 0.894 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.679e-06/1.293, allocations: 5.969 kB / 0.894 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/1.293, allocations: 10.06 kB / 0.8941 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000287/1.294, allocations: 79.89 kB / 0.8941 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/1.294, allocations: 5.969 kB / 0.8941 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003787/1.294, allocations: 69.28 kB / 0.8942 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/1.294, allocations: 20.78 kB / 0.8942 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/1.294, allocations: 10.41 kB / 0.8942 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006031/1.295, allocations: 462.3 kB / 0.8947 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/1.295, allocations: 3.875 kB / 0.8947 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/1.295, allocations: 9.406 kB / 0.8947 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002501/1.295, allocations: 78.47 kB / 0.8948 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.295, allocations: 10.14 kB / 0.8948 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/1.295, allocations: 57.81 kB / 0.8948 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/1.295, allocations: 17.97 kB / 0.8948 GB, free: 122.5 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.0002293/1.296, allocations: 301.8 kB / 0.8951 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/1.296, allocations: 49.25 kB / 0.8952 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005493/1.296, allocations: 373.9 kB / 0.8955 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/1.296, allocations: 0 / 0.8955 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/1.296, allocations: 7.781 kB / 0.8955 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/1.296, allocations: 2.875 kB / 0.8955 GB, free: 122.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000395/1.297, allocations: 413.3 kB / 0.8959 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.297, allocations: 3.156 kB / 0.8959 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/1.297, allocations: 26.25 kB / 0.896 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/1.297, allocations: 3.125 kB / 0.896 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.218e-05/1.297, allocations: 9.547 kB / 0.896 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/1.297, allocations: 0 / 0.896 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/1.297, allocations: 0 / 0.896 GB, free: 121.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000431/1.297, allocations: 365.3 kB / 0.8963 GB, free: 121.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.978e-05/1.297, allocations: 130.5 kB / 0.8964 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/1.298, allocations: 14.78 kB / 0.8965 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002416/1.298, allocations: 21.28 kB / 0.8965 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/1.298, allocations: 12.08 kB / 0.8965 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/1.298, allocations: 10.28 kB / 0.8965 GB, free: 121.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003449/1.298, allocations: 367.8 kB / 0.8969 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/1.298, allocations: 0 / 0.8969 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001617/1.3, allocations: 480.3 kB / 0.8973 GB, free: 121.5 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.001305/1.301, allocations: 0.5204 MB / 0.8978 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0008741/1.302, allocations: 0.6301 MB / 0.8984 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.302, allocations: 0 / 0.8984 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001709/1.302, allocations: 180.9 kB / 0.8986 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008962/1.303, allocations: 190.3 kB / 0.8988 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/1.305, allocations: 0.9925 MB / 0.8998 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/1.305, allocations: 0.8391 MB / 0.9006 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/1.305, allocations: 46.34 kB / 0.9006 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of SimCode: time 7.92e-07/1.305, allocations: 0 / 0.9006 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.01904/1.324, allocations: 10.24 MB / 0.9106 GB, free: 119.2 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