Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.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.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 185.5 kB / 16.4 MB, free: 5.75 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.117 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.00124/0.001239, allocations: 100.3 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.511/0.511, allocations: 43.55 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004647, allocations: 16 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1232, allocations: 58.84 MB / 490.2 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4898/0.6131, allocations: 86.74 MB / 0.5634 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6134, allocations: 75.95 kB / 0.5635 GB, free: 15.74 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.6325, allocations: 4.309 MB / 0.5677 GB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6326, allocations: 0 / 0.5677 GB, free: 11.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.586e-05/0.6326, allocations: 4 kB / 0.5677 GB, free: 11.47 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004996/0.6331, allocations: 383.8 kB / 0.5681 GB, free: 11.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.6332, allocations: 16.02 kB / 0.5681 GB, free: 11.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.6332, allocations: 7.906 kB / 0.5681 GB, free: 11.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002491/0.6335, allocations: 190.3 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.6335, allocations: 4 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.6335, allocations: 4 kB / 0.5683 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.6338, allocations: 63.39 kB / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.6338, allocations: 0 / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.6338, allocations: 0 / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.6338, allocations: 5.219 kB / 0.5684 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.634, allocations: 28.95 kB / 0.5684 GB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.6345, allocations: 280.9 kB / 0.5687 GB, free: 10.37 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.6348, allocations: 50.56 kB / 0.5687 GB, free: 10.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.6348, allocations: 4 kB / 0.5687 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.6348, allocations: 30.56 kB / 0.5687 GB, free: 10.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.6349, allocations: 3.938 kB / 0.5687 GB, free: 10.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008544/0.6357, allocations: 169.7 kB / 0.5689 GB, free: 10.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.6358, allocations: 81.11 kB / 0.569 GB, free: 9.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.636, allocations: 137.1 kB / 0.5691 GB, free: 9.855 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.636, allocations: 29.7 kB / 0.5691 GB, free: 9.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.6361, allocations: 162.5 kB / 0.5693 GB, free: 9.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.6361, allocations: 15.75 kB / 0.5693 GB, free: 9.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-06/0.6362, allocations: 6.812 kB / 0.5693 GB, free: 9.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.6363, allocations: 310.8 kB / 0.5696 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.6364, allocations: 23.98 kB / 0.5696 GB, free: 9.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001437/0.6366, allocations: 41.69 kB / 0.5697 GB, free: 9.258 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.6367, allocations: 29.05 kB / 0.5697 GB, free: 9.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6368, allocations: 0 / 0.5697 GB, free: 9.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003272/0.6371, allocations: 81.67 kB / 0.5698 GB, free: 9.145 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.6371, allocations: 8.031 kB / 0.5698 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.6371, allocations: 0 / 0.5698 GB, free: 9.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/0.6372, allocations: 7.984 kB / 0.5698 GB, free: 9.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6373, allocations: 11.94 kB / 0.5698 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.6373, allocations: 4 kB / 0.5698 GB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.828e-05/0.6374, allocations: 12.55 kB / 0.5698 GB, free: 9.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.6374, allocations: 4.969 kB / 0.5698 GB, free: 9.098 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0001154/0.6376, allocations: 117.8 kB / 0.5699 GB, free: 8.973 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.48e-05/0.6376, allocations: 7.906 kB / 0.57 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004171/0.6381, allocations: 103 kB / 0.5701 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6381, allocations: 4 kB / 0.5701 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6381, allocations: 0 / 0.5701 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6381, allocations: 0 / 0.5701 GB, free: 8.855 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000656/0.6388, allocations: 366.5 kB / 0.5704 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.6388, allocations: 0 / 0.5704 GB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.6389, allocations: 12.86 kB / 0.5704 GB, free: 8.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.6389, allocations: 4 kB / 0.5704 GB, free: 8.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-06/0.6389, allocations: 4 kB / 0.5704 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.639, allocations: 0 / 0.5704 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.639, allocations: 0 / 0.5704 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.6394, allocations: 203.7 kB / 0.5706 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.6394, allocations: 81.08 kB / 0.5707 GB, free: 8.109 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.778e-05/0.6395, allocations: 8 kB / 0.5707 GB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.6396, allocations: 12.92 kB / 0.5707 GB, free: 8.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.6397, allocations: 3.938 kB / 0.5707 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.6397, allocations: 8 kB / 0.5707 GB, free: 8.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001169/0.6398, allocations: 107.2 kB / 0.5708 GB, free: 7.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.6398, allocations: 0 / 0.5708 GB, free: 7.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.6402, allocations: 24 kB / 0.5709 GB, free: 7.949 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001302/0.6415, allocations: 462.5 kB / 0.5713 GB, free: 7.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003954/0.6419, allocations: 55.91 kB / 0.5713 GB, free: 7.535 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.642, allocations: 4 kB / 0.5714 GB, free: 7.531 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.6421, allocations: 35.97 kB / 0.5714 GB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.6424, allocations: 8 kB / 0.5714 GB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005163/0.643, allocations: 212.8 kB / 0.5716 GB, free: 7.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.6433, allocations: 0.6887 MB / 0.5723 GB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/0.6433, allocations: 19.42 kB / 0.5723 GB, free: 6.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6433, allocations: 0 / 0.5723 GB, free: 6.52 MB / 394.7 MB Notification: Performance of Templates: time 0.004774/0.6481, allocations: 1.6 MB / 0.5738 GB, free: 4.918 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches