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.001028/0.001028, allocations: 183.8 kB / 13.19 MB, free: 2.129 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.363/1.363, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009643/0.0009643, allocations: 89 kB / 267.1 MB, free: 9.277 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.3373/0.3373, allocations: 43.46 MB / 358.6 MB, free: 52.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.892e-05, allocations: 0 / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 58.85 MB / 484.2 MB, free: 13.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7418/0.8597, allocations: 316.6 MB / 0.782 GB, free: 58.95 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.8601, allocations: 86.67 kB / 0.7821 GB, free: 58.91 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4109/1.271, allocations: 97.54 MB / 0.8774 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.824e-06/1.271, allocations: 0 / 0.8774 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.025e-05/1.271, allocations: 18.97 kB / 0.8774 GB, free: 124.2 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.001601/1.273, allocations: 0.8198 MB / 0.8782 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/1.273, allocations: 8.938 kB / 0.8782 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/1.273, allocations: 66.67 kB / 0.8783 GB, free: 123.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/1.274, allocations: 468.1 kB / 0.8787 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/1.274, allocations: 20.72 kB / 0.8787 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.142e-05/1.274, allocations: 32.94 kB / 0.8788 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007063/1.275, allocations: 0.5155 MB / 0.8793 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/1.275, allocations: 0 / 0.8793 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.861e-05/1.275, allocations: 19.2 kB / 0.8793 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-05/1.275, allocations: 32.94 kB / 0.8793 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005934/1.275, allocations: 443.5 kB / 0.8797 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002827/1.278, allocations: 2.252 MB / 0.8819 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003479/1.278, allocations: 220.3 kB / 0.8821 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001735/1.279, allocations: 136.8 kB / 0.8823 GB, free: 122 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/1.28, allocations: 1.064 MB / 0.8833 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002889/1.28, allocations: 215.2 kB / 0.8835 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 1.994e-06/1.28, allocations: 2.344 kB / 0.8835 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0005271/1.281, allocations: 309.2 kB / 0.8838 GB, free: 121 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.875e-05/1.281, allocations: 244 kB / 0.884 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004988/1.281, allocations: 463.8 kB / 0.8845 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/1.281, allocations: 30.92 kB / 0.8845 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.281, allocations: 284.3 kB / 0.8848 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/1.281, allocations: 57.11 kB / 0.8848 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/1.281, allocations: 3.25 kB / 0.8848 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.847e-05/1.282, allocations: 363.1 kB / 0.8852 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/1.282, allocations: 120.7 kB / 0.8853 GB, free: 120.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/1.282, allocations: 295.2 kB / 0.8856 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000248/1.282, allocations: 197 kB / 0.8858 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/1.282, allocations: 6.578 kB / 0.8858 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006996/1.283, allocations: 0.4973 MB / 0.8863 GB, free: 119.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003802/1.283, allocations: 1.689 MB / 0.8879 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/1.283, allocations: 3.219 kB / 0.8879 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/1.283, allocations: 6.312 kB / 0.8879 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/1.284, allocations: 78.03 kB / 0.888 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/1.284, allocations: 13.38 kB / 0.888 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003677/1.284, allocations: 61.23 kB / 0.8881 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/1.284, allocations: 22.55 kB / 0.8881 GB, free: 118 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.354e-06/1.284, allocations: 3.125 kB / 0.8881 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005785/1.285, allocations: 457.7 kB / 0.8885 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.285, allocations: 3.375 kB / 0.8885 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.344e-06/1.285, allocations: 10.61 kB / 0.8885 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/1.285, allocations: 80.31 kB / 0.8886 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/1.285, allocations: 13.75 kB / 0.8886 GB, free: 118 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/1.285, allocations: 50.67 kB / 0.8887 GB, free: 117.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.421e-05/1.285, allocations: 25.81 kB / 0.8887 GB, free: 117.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 () * 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.0001223/1.286, allocations: 160.8 kB / 0.8889 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/1.286, allocations: 49.34 kB / 0.8889 GB, free: 117.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/1.286, allocations: 375.9 kB / 0.8893 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.286, allocations: 7.234 kB / 0.8893 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.286, allocations: 0 / 0.8893 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.286, allocations: 0 / 0.8893 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/1.287, allocations: 405.4 kB / 0.8897 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/1.287, allocations: 3.281 kB / 0.8897 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/1.287, allocations: 26.12 kB / 0.8897 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/1.287, allocations: 7.297 kB / 0.8897 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/1.287, allocations: 6.5 kB / 0.8897 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/1.287, allocations: 0 / 0.8897 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/1.287, allocations: 3.953 kB / 0.8897 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003953/1.287, allocations: 358.4 kB / 0.89 GB, free: 117.4 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/1.287, allocations: 131.6 kB / 0.8902 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/1.287, allocations: 6.688 kB / 0.8902 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/1.288, allocations: 24.84 kB / 0.8902 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/1.288, allocations: 20.58 kB / 0.8902 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/1.288, allocations: 10.03 kB / 0.8902 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0003467/1.288, allocations: 361.8 kB / 0.8906 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.9e-07/1.288, allocations: 3.938 kB / 0.8906 GB, free: 117.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001244/1.289, allocations: 474.4 kB / 0.891 GB, free: 117.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) * 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.0009367/1.29, allocations: 0.5009 MB / 0.8915 GB, free: 116.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007595/1.291, allocations: 0.6552 MB / 0.8922 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/1.291, allocations: 0 / 0.8922 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/1.291, allocations: 179.5 kB / 0.8923 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008549/1.292, allocations: 186.9 kB / 0.8925 GB, free: 116.7 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008483/1.293, allocations: 0.5263 MB / 0.893 GB, free: 116.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/1.293, allocations: 0.861 MB / 0.8939 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005919/1.294, allocations: 187.8 kB / 0.894 GB, free: 115.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.636e-05/1.294, allocations: 38.38 kB / 0.8941 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of SimCode: time 2.4e-07/1.294, allocations: 3.062 kB / 0.8941 GB, free: 115.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.0201/1.314, allocations: 12.75 MB / 0.9065 GB, free: 115 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