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.001559/0.001559, allocations: 182.3 kB / 15.76 MB, free: 6.367 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.518/1.518, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001132/0.001132, allocations: 102.8 kB / 270.2 MB, free: 13.37 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.2456/0.2456, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.0004477, allocations: 8 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.149, allocations: 58.86 MB / 490.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.009/1.158, allocations: 316.7 MB / 0.7881 GB, free: 103.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.158, allocations: 84.89 kB / 0.7882 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2161/1.374, allocations: 97.84 MB / 0.8837 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/1.374, allocations: 4 kB / 0.8837 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.177e-05/1.374, allocations: 19.92 kB / 0.8837 GB, free: 11.76 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.002428/1.377, allocations: 0.8827 MB / 0.8846 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/1.377, allocations: 8.031 kB / 0.8846 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004049/1.377, allocations: 71.22 kB / 0.8847 GB, free: 10.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/1.378, allocations: 469.3 kB / 0.8851 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.23e-05/1.379, allocations: 28.55 kB / 0.8851 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.429e-05/1.379, allocations: 31.98 kB / 0.8852 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008876/1.379, allocations: 0.5247 MB / 0.8857 GB, free: 9.617 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/1.38, allocations: 4 kB / 0.8857 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/1.38, allocations: 15.98 kB / 0.8857 GB, free: 9.598 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.156e-05/1.38, allocations: 28.55 kB / 0.8857 GB, free: 9.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007244/1.38, allocations: 453.9 kB / 0.8862 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/1.384, allocations: 2.257 MB / 0.8884 GB, free: 6.727 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003733/1.384, allocations: 222.5 kB / 0.8886 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/1.385, allocations: 1.029 MB / 0.8896 GB, free: 5.352 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/1.385, allocations: 204.5 kB / 0.8898 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 3.176e-06/1.385, allocations: 0 / 0.8898 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006866/1.386, allocations: 470.6 kB / 0.8902 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.927e-05/1.386, allocations: 239.3 kB / 0.8905 GB, free: 4.344 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004979/1.387, allocations: 469.2 kB / 0.8909 GB, free: 3.879 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/1.387, allocations: 29.7 kB / 0.8909 GB, free: 3.844 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/1.387, allocations: 279.2 kB / 0.8912 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/1.387, allocations: 63.17 kB / 0.8913 GB, free: 3.504 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/1.387, allocations: 8 kB / 0.8913 GB, free: 3.496 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.194e-05/1.387, allocations: 354.8 kB / 0.8916 GB, free: 3.141 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001847/1.387, allocations: 124.3 kB / 0.8917 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/1.388, allocations: 307.8 kB / 0.892 GB, free: 2.641 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00025/1.388, allocations: 205.2 kB / 0.8922 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.388, allocations: 0 / 0.8922 GB, free: 2.434 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000726/1.389, allocations: 0.509 MB / 0.8927 GB, free: 1.914 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000415/1.389, allocations: 1.692 MB / 0.8944 GB, free: 88 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/1.389, allocations: 7.938 kB / 0.8944 GB, free: 80 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.044e-05/1.389, allocations: 8 kB / 0.8944 GB, free: 72 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003041/1.389, allocations: 67.91 kB / 0.8944 GB, free: 4 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3205/1.71, allocations: 6.328 kB / 0.8944 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009759/1.711, allocations: 59.86 kB / 0.8945 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.182e-05/1.711, allocations: 27.56 kB / 0.8945 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/1.711, allocations: 3.688 kB / 0.8945 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001172/1.712, allocations: 461.3 kB / 0.895 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/1.712, allocations: 8.578 kB / 0.895 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/1.712, allocations: 7.094 kB / 0.895 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/1.713, allocations: 77.22 kB / 0.8951 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/1.713, allocations: 7.906 kB / 0.8951 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004356/1.713, allocations: 55.56 kB / 0.8951 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.375e-05/1.713, allocations: 20.23 kB / 0.8951 GB, free: 134.9 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.0004839/1.714, allocations: 301.2 kB / 0.8954 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.714, allocations: 50.84 kB / 0.8955 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008584/1.715, allocations: 364.8 kB / 0.8958 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.715, allocations: 1.25 kB / 0.8958 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/1.715, allocations: 1.25 kB / 0.8958 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/1.715, allocations: 2.203 kB / 0.8958 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005996/1.715, allocations: 415.4 kB / 0.8962 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/1.715, allocations: 0 / 0.8962 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/1.715, allocations: 25.59 kB / 0.8962 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/1.715, allocations: 1.156 kB / 0.8962 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/1.715, allocations: 8.688 kB / 0.8963 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.715, allocations: 5.625 kB / 0.8963 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.716, allocations: 0 / 0.8963 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/1.716, allocations: 368.8 kB / 0.8966 GB, free: 134.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001523/1.716, allocations: 138.5 kB / 0.8967 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.107e-05/1.716, allocations: 8.172 kB / 0.8968 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/1.717, allocations: 19.41 kB / 0.8968 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.568e-05/1.717, allocations: 11 kB / 0.8968 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.656e-05/1.717, allocations: 14.69 kB / 0.8968 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004543/1.717, allocations: 365.8 kB / 0.8971 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/1.717, allocations: 3.969 kB / 0.8971 GB, free: 134.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002371/1.72, allocations: 475.1 kB / 0.8976 GB, free: 134.1 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.001381/1.721, allocations: 0.5007 MB / 0.8981 GB, free: 134 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0009092/1.722, allocations: 0.6389 MB / 0.8987 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/1.722, allocations: 0.8438 kB / 0.8987 GB, free: 133.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001734/1.722, allocations: 181.7 kB / 0.8989 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000936/1.723, allocations: 195.6 kB / 0.8991 GB, free: 133.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/1.725, allocations: 0.9507 MB / 0.9 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/1.725, allocations: 0.8532 MB / 0.9008 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005378/1.726, allocations: 155.4 kB / 0.901 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.803e-05/1.726, allocations: 39.38 kB / 0.901 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of SimCode: time 6.62e-07/1.726, allocations: 7.062 kB / 0.901 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.02855/1.754, allocations: 11.81 MB / 0.9126 GB, free: 132.4 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/jenkins/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