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.002118/0.002118, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.942/1.942, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001121/0.001121, allocations: 96.41 kB / 270.9 MB, free: 8.371 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.4861/0.4861, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004446, allocations: 8 kB / 431.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1201, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.062/1.183, allocations: 316.7 MB / 0.788 GB, free: 54.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.183, allocations: 86.89 kB / 0.7881 GB, free: 54.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6551/1.838, allocations: 97.86 MB / 0.8837 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.264e-06/1.838, allocations: 0 / 0.8837 GB, free: 127.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.359e-05/1.838, allocations: 10.69 kB / 0.8837 GB, free: 127.9 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.00207/1.84, allocations: 0.8894 MB / 0.8846 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/1.84, allocations: 13.16 kB / 0.8846 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003152/1.841, allocations: 63.12 kB / 0.8846 GB, free: 127.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/1.842, allocations: 470.7 kB / 0.8851 GB, free: 127 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/1.842, allocations: 19.31 kB / 0.8851 GB, free: 127 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.636e-05/1.842, allocations: 29.7 kB / 0.8851 GB, free: 127 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.843, allocations: 0.5195 MB / 0.8856 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/1.843, allocations: 11.53 kB / 0.8857 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.199e-05/1.843, allocations: 15.94 kB / 0.8857 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/1.843, allocations: 28.28 kB / 0.8857 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001016/1.844, allocations: 455.4 kB / 0.8861 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/1.848, allocations: 2.257 MB / 0.8883 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/1.849, allocations: 229 kB / 0.8885 GB, free: 125.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00137/1.85, allocations: 1.013 MB / 0.8895 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003651/1.851, allocations: 224.9 kB / 0.8898 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.365e-06/1.851, allocations: 0 / 0.8898 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.00092/1.852, allocations: 460.1 kB / 0.8902 GB, free: 124.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/1.852, allocations: 237.7 kB / 0.8904 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007343/1.852, allocations: 468.1 kB / 0.8909 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/1.852, allocations: 31.98 kB / 0.8909 GB, free: 124.1 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/1.853, allocations: 320.2 kB / 0.8912 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.189e-05/1.853, allocations: 58.72 kB / 0.8913 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/1.853, allocations: 13.41 kB / 0.8913 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/1.853, allocations: 327.8 kB / 0.8916 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/1.853, allocations: 121.8 kB / 0.8917 GB, free: 123.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/1.854, allocations: 300.6 kB / 0.892 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003941/1.854, allocations: 192.4 kB / 0.8922 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.854, allocations: 1.312 kB / 0.8922 GB, free: 123.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001044/1.855, allocations: 490.8 kB / 0.8926 GB, free: 123.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003459/1.855, allocations: 1.697 MB / 0.8943 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/1.855, allocations: 3 kB / 0.8943 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.682e-05/1.855, allocations: 8.938 kB / 0.8943 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/1.856, allocations: 72.8 kB / 0.8944 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.856, allocations: 13.12 kB / 0.8944 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/1.857, allocations: 62.33 kB / 0.8944 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/1.857, allocations: 26.55 kB / 0.8945 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/1.857, allocations: 3.125 kB / 0.8945 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009956/1.858, allocations: 457.7 kB / 0.8949 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.858, allocations: 10.53 kB / 0.8949 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/1.858, allocations: 6.406 kB / 0.8949 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/1.858, allocations: 75.27 kB / 0.895 GB, free: 121.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.858, allocations: 11.38 kB / 0.895 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/1.859, allocations: 48.16 kB / 0.8951 GB, free: 121.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.927e-05/1.859, allocations: 20.7 kB / 0.8951 GB, free: 121.3 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.0003529/1.859, allocations: 298.6 kB / 0.8954 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.983e-05/1.859, allocations: 62.92 kB / 0.8954 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008311/1.86, allocations: 375.7 kB / 0.8958 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.86, allocations: 2.875 kB / 0.8958 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/1.86, allocations: 3.953 kB / 0.8958 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/1.86, allocations: 3.188 kB / 0.8958 GB, free: 121 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/1.861, allocations: 408.5 kB / 0.8962 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.861, allocations: 3.5 kB / 0.8962 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002043/1.861, allocations: 24.34 kB / 0.8962 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/1.861, allocations: 3.938 kB / 0.8962 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/1.861, allocations: 9.594 kB / 0.8962 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.861, allocations: 2.875 kB / 0.8962 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.861, allocations: 0 / 0.8962 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006831/1.862, allocations: 364.6 kB / 0.8966 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/1.862, allocations: 136.8 kB / 0.8967 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.862, allocations: 10.91 kB / 0.8967 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/1.863, allocations: 9.438 kB / 0.8967 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/1.863, allocations: 21.16 kB / 0.8967 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/1.863, allocations: 12.12 kB / 0.8968 GB, free: 120.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005685/1.863, allocations: 369.5 kB / 0.8971 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.01e-07/1.863, allocations: 0 / 0.8971 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001841/1.865, allocations: 472.1 kB / 0.8976 GB, free: 120.4 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.001699/1.867, allocations: 0.5066 MB / 0.898 GB, free: 120.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001468/1.868, allocations: 0.639 MB / 0.8987 GB, free: 120 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.868, allocations: 0 / 0.8987 GB, free: 120 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002802/1.869, allocations: 180.3 kB / 0.8988 GB, free: 120 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00157/1.87, allocations: 184.2 kB / 0.899 GB, free: 120 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/1.872, allocations: 0.9881 MB / 0.9 GB, free: 119.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.872, allocations: 0.8644 MB / 0.9008 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/1.873, allocations: 43.78 kB / 0.9009 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of SimCode: time 9.92e-07/1.873, allocations: 0 / 0.9009 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.02556/1.898, allocations: 10.49 MB / 0.9111 GB, free: 117.9 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