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.001141/0.001141, allocations: 177.6 kB / 8.003 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.731/1.731, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008863/0.0008861, allocations: 90.62 kB / 261.7 MB, free: 1.617 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.2308/0.2308, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.245e-05, allocations: 4 kB / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1553, allocations: 58.85 MB / 477.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.192, allocations: 316 MB / 0.7745 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/1.193, allocations: 87.23 kB / 0.7746 GB, free: 138.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2024/1.395, allocations: 96.77 MB / 0.8691 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.583e-06/1.395, allocations: 0 / 0.8691 GB, free: 40.67 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.649e-05/1.395, allocations: 12 kB / 0.8691 GB, free: 40.66 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.002021/1.397, allocations: 0.8317 MB / 0.8699 GB, free: 39.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.397, allocations: 12.03 kB / 0.8699 GB, free: 39.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004057/1.398, allocations: 63.3 kB / 0.87 GB, free: 39.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009585/1.399, allocations: 459.8 kB / 0.8704 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/1.399, allocations: 12 kB / 0.8704 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.389e-05/1.399, allocations: 16 kB / 0.8705 GB, free: 39.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006115/1.4, allocations: 393.2 kB / 0.8708 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007079/1.4, allocations: 483.7 kB / 0.8713 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/1.4, allocations: 0 / 0.8713 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-05/1.4, allocations: 7.938 kB / 0.8713 GB, free: 38.28 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/1.4, allocations: 32.5 kB / 0.8713 GB, free: 38.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/1.403, allocations: 2.173 MB / 0.8735 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003028/1.404, allocations: 222.5 kB / 0.8737 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001445/1.404, allocations: 124.8 kB / 0.8738 GB, free: 35.59 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001019/1.405, allocations: 1.045 MB / 0.8748 GB, free: 34.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/1.405, allocations: 207.9 kB / 0.875 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.184e-06/1.405, allocations: 0 / 0.875 GB, free: 34.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0007044/1.406, allocations: 281 kB / 0.8753 GB, free: 33.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.787e-05/1.406, allocations: 239.3 kB / 0.8755 GB, free: 33.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003617/1.406, allocations: 369.1 kB / 0.8759 GB, free: 33.26 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/1.406, allocations: 29.7 kB / 0.8759 GB, free: 33.22 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/1.407, allocations: 299.4 kB / 0.8762 GB, free: 32.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/1.407, allocations: 51.3 kB / 0.8762 GB, free: 32.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.721e-05/1.407, allocations: 4 kB / 0.8762 GB, free: 32.87 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.752e-05/1.407, allocations: 354.8 kB / 0.8766 GB, free: 32.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/1.407, allocations: 120.4 kB / 0.8767 GB, free: 32.39 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/1.407, allocations: 284 kB / 0.8769 GB, free: 32.04 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002575/1.41, allocations: 0.6096 MB / 0.8775 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/1.41, allocations: 4 kB / 0.8775 GB, free: 31.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002903/1.413, allocations: 0.8862 MB / 0.8784 GB, free: 30.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003844/1.413, allocations: 1.696 MB / 0.8801 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.413, allocations: 8 kB / 0.8801 GB, free: 28.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.413, allocations: 4 kB / 0.8801 GB, free: 28.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/1.413, allocations: 75.84 kB / 0.8801 GB, free: 28.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/1.413, allocations: 8.062 kB / 0.8802 GB, free: 28.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004061/1.414, allocations: 47.52 kB / 0.8802 GB, free: 28.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.074e-05/1.414, allocations: 27.98 kB / 0.8802 GB, free: 28.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/1.414, allocations: 8 kB / 0.8802 GB, free: 28.53 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002747/1.417, allocations: 0.8075 MB / 0.881 GB, free: 27.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.417, allocations: 4.562 kB / 0.881 GB, free: 27.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.706e-06/1.417, allocations: 11.95 kB / 0.881 GB, free: 27.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/1.417, allocations: 75.91 kB / 0.8811 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.417, allocations: 11.94 kB / 0.8811 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003521/1.417, allocations: 35.67 kB / 0.8812 GB, free: 27.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/1.417, allocations: 23.98 kB / 0.8812 GB, free: 27.56 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.0001404/1.417, allocations: 146.6 kB / 0.8813 GB, free: 27.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/1.418, allocations: 43.53 kB / 0.8814 GB, free: 27.36 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006436/1.418, allocations: 328.3 kB / 0.8817 GB, free: 27.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/1.418, allocations: 3.953 kB / 0.8817 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.418, allocations: 0 / 0.8817 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/1.418, allocations: 0 / 0.8817 GB, free: 27.03 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003774/1.419, allocations: 365.8 kB / 0.882 GB, free: 26.64 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/1.419, allocations: 4 kB / 0.882 GB, free: 26.63 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/1.419, allocations: 23.98 kB / 0.8821 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.419, allocations: 4 kB / 0.8821 GB, free: 26.61 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/1.419, allocations: 4 kB / 0.8821 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.419, allocations: 0 / 0.8821 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/1.419, allocations: 3.938 kB / 0.8821 GB, free: 26.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/1.419, allocations: 324.4 kB / 0.8824 GB, free: 26.26 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.507e-05/1.419, allocations: 124.5 kB / 0.8825 GB, free: 26.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/1.419, allocations: 11.98 kB / 0.8825 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/1.42, allocations: 12 kB / 0.8825 GB, free: 26.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.104e-05/1.42, allocations: 15.94 kB / 0.8825 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/1.42, allocations: 15.92 kB / 0.8825 GB, free: 26.07 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002363/1.42, allocations: 287 kB / 0.8828 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.42, allocations: 4 kB / 0.8828 GB, free: 25.79 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001272/1.421, allocations: 467.1 kB / 0.8833 GB, free: 25.33 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.0009574/1.422, allocations: 0.5174 MB / 0.8838 GB, free: 24.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006575/1.423, allocations: 0.609 MB / 0.8844 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/1.423, allocations: 4.125 kB / 0.8844 GB, free: 24.17 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/1.423, allocations: 175.3 kB / 0.8845 GB, free: 23.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/1.424, allocations: 150.1 kB / 0.8847 GB, free: 23.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008018/1.425, allocations: 0.4942 MB / 0.8852 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/1.425, allocations: 0.8514 MB / 0.886 GB, free: 22.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004752/1.425, allocations: 171.1 kB / 0.8862 GB, free: 22.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.007e-05/1.425, allocations: 31.44 kB / 0.8862 GB, free: 22.24 MB / 0.4948 GB Notification: Performance of SimCode: time 2.9e-07/1.425, allocations: 3.938 kB / 0.8862 GB, free: 22.24 MB / 0.4948 GB Notification: Performance of Templates: time 0.01448/1.44, allocations: 10.73 MB / 0.8967 GB, free: 11.54 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