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.002093/0.002093, allocations: 178.8 kB / 8.363 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.058/2.058, allocations: 205.3 MB / 214.1 MB, free: 14.16 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001179/0.001178, allocations: 88.02 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2899/0.2899, allocations: 43.49 MB / 353.6 MB, free: 2.289 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.673e-05, allocations: 224 / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4046, allocations: 58.86 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7882/1.193, allocations: 316 MB / 0.7745 GB, free: 20.91 MB / 475.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003113/1.193, allocations: 89.88 kB / 0.7746 GB, free: 20.86 MB / 475.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6883/1.882, allocations: 96.76 MB / 0.8691 GB, free: 152 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.573e-06/1.882, allocations: 0 / 0.8691 GB, free: 152 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 4.983e-05/1.882, allocations: 14.69 kB / 0.8691 GB, free: 152 MB / 0.4952 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.001924/1.884, allocations: 0.8267 MB / 0.8699 GB, free: 151.3 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.884, allocations: 12.62 kB / 0.8699 GB, free: 151.3 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003258/1.884, allocations: 56.2 kB / 0.87 GB, free: 151.3 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001193/1.885, allocations: 467.1 kB / 0.8704 GB, free: 151 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.35e-05/1.885, allocations: 10.31 kB / 0.8704 GB, free: 151 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/1.885, allocations: 17.97 kB / 0.8704 GB, free: 151 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008787/1.886, allocations: 393.4 kB / 0.8708 GB, free: 150.9 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009328/1.887, allocations: 486.7 kB / 0.8713 GB, free: 150.6 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/1.887, allocations: 0 / 0.8713 GB, free: 150.6 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/1.887, allocations: 2.875 kB / 0.8713 GB, free: 150.6 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.784e-05/1.887, allocations: 29.44 kB / 0.8713 GB, free: 150.6 MB / 0.4952 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004165/1.892, allocations: 2.181 MB / 0.8734 GB, free: 149 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004814/1.892, allocations: 223 kB / 0.8736 GB, free: 148.9 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/1.892, allocations: 125.1 kB / 0.8738 GB, free: 148.8 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/1.894, allocations: 1.025 MB / 0.8748 GB, free: 148 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/1.894, allocations: 217.7 kB / 0.875 GB, free: 147.8 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=18): time 2.515e-06/1.894, allocations: 0 / 0.875 GB, free: 147.8 MB / 0.4952 GB Notification: Performance of matching and sorting (n=18): time 0.0009433/1.895, allocations: 277.8 kB / 0.8752 GB, free: 147.7 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.223e-05/1.895, allocations: 235.1 kB / 0.8755 GB, free: 147.4 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/1.896, allocations: 380.5 kB / 0.8758 GB, free: 147.2 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/1.896, allocations: 25.7 kB / 0.8758 GB, free: 147.2 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/1.896, allocations: 343.9 kB / 0.8762 GB, free: 146.9 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 6.272e-05/1.896, allocations: 54.16 kB / 0.8762 GB, free: 146.9 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.894e-05/1.896, allocations: 3.875 kB / 0.8762 GB, free: 146.9 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/1.896, allocations: 322.2 kB / 0.8765 GB, free: 146.5 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/1.897, allocations: 118.8 kB / 0.8766 GB, free: 146.5 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004007/1.897, allocations: 289.1 kB / 0.8769 GB, free: 146.2 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004985/1.902, allocations: 0.6151 MB / 0.8775 GB, free: 146.1 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.902, allocations: 0 / 0.8775 GB, free: 146.1 MB / 0.4952 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.005762/1.908, allocations: 0.8756 MB / 0.8784 GB, free: 145.9 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003657/1.908, allocations: 1.691 MB / 0.88 GB, free: 144.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/1.908, allocations: 6.969 kB / 0.88 GB, free: 144.1 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/1.908, allocations: 7.219 kB / 0.88 GB, free: 144.1 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005675/1.909, allocations: 77.03 kB / 0.8801 GB, free: 144.1 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.578e-05/1.909, allocations: 14.5 kB / 0.8801 GB, free: 144.1 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/1.91, allocations: 52.59 kB / 0.8802 GB, free: 144 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.444e-05/1.91, allocations: 18.47 kB / 0.8802 GB, free: 144 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 9.849e-06/1.91, allocations: 3.844 kB / 0.8802 GB, free: 144 MB / 0.4952 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005498/1.915, allocations: 0.8095 MB / 0.881 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.915, allocations: 3.906 kB / 0.881 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/1.915, allocations: 7.812 kB / 0.881 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/1.916, allocations: 78.14 kB / 0.8811 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/1.916, allocations: 7.781 kB / 0.8811 GB, free: 143.9 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005306/1.916, allocations: 34.25 kB / 0.8811 GB, free: 143.8 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/1.917, allocations: 15.72 kB / 0.8811 GB, free: 143.8 MB / 0.4952 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.0002194/1.917, allocations: 165.9 kB / 0.8813 GB, free: 143.7 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/1.917, allocations: 46.78 kB / 0.8813 GB, free: 143.7 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001061/1.918, allocations: 313.8 kB / 0.8816 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/1.918, allocations: 0 / 0.8816 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.918, allocations: 0 / 0.8816 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/1.918, allocations: 7.766 kB / 0.8816 GB, free: 143.5 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/1.919, allocations: 375.2 kB / 0.882 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.919, allocations: 0 / 0.882 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/1.919, allocations: 26.66 kB / 0.882 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.919, allocations: 7.391 kB / 0.882 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/1.919, allocations: 3.5 kB / 0.882 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.919, allocations: 0 / 0.882 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.919, allocations: 3.938 kB / 0.882 GB, free: 143.3 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008279/1.92, allocations: 321.7 kB / 0.8823 GB, free: 143.2 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001404/1.92, allocations: 132 kB / 0.8825 GB, free: 143 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000111/1.92, allocations: 3.938 kB / 0.8825 GB, free: 143 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/1.921, allocations: 18.16 kB / 0.8825 GB, free: 143 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.484e-05/1.921, allocations: 14.95 kB / 0.8825 GB, free: 143 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.531e-05/1.921, allocations: 10.88 kB / 0.8825 GB, free: 143 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 0.0004343/1.921, allocations: 288.6 kB / 0.8828 GB, free: 142.9 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.21e-07/1.921, allocations: 0 / 0.8828 GB, free: 142.9 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.001829/1.923, allocations: 476.2 kB / 0.8832 GB, free: 142.7 MB / 0.4952 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.00153/1.924, allocations: 0.4974 MB / 0.8837 GB, free: 142.5 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.001236/1.926, allocations: 0.5987 MB / 0.8843 GB, free: 142.2 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.926, allocations: 0 / 0.8843 GB, free: 142.2 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0002277/1.926, allocations: 172.7 kB / 0.8845 GB, free: 142.1 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.927, allocations: 152.6 kB / 0.8846 GB, free: 142.1 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001276/1.929, allocations: 0.5366 MB / 0.8851 GB, free: 141.8 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003253/1.929, allocations: 0.849 MB / 0.886 GB, free: 141.1 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001994/1.929, allocations: 46.41 kB / 0.886 GB, free: 141.1 MB / 0.4952 GB Notification: Performance of SimCode: time 9.42e-07/1.929, allocations: 0 / 0.886 GB, free: 141.1 MB / 0.4952 GB Notification: Performance of Templates: time 0.02117/1.95, allocations: 9.999 MB / 0.8958 GB, free: 137.9 MB / 0.4952 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