Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") translateModel(ModelicaTest.Tables.CombiTable1D.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, 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.565/1.565, 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.0008805/0.0008804, allocations: 94.86 kB / 270.2 MB, free: 13.36 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.2209/0.2209, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000517/0.0005173, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1544, allocations: 58.85 MB / 490.2 MB, free: 8.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4276/0.582, allocations: 86.46 MB / 0.5632 GB, free: 13.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.5823, allocations: 69.78 kB / 0.5633 GB, free: 13.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01009/0.5924, allocations: 3.631 MB / 0.5668 GB, free: 10.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5925, allocations: 0 / 0.5668 GB, free: 10.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.5925, allocations: 4 kB / 0.5668 GB, free: 10.29 MB / 378.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.0004133/0.5929, allocations: 390.3 kB / 0.5672 GB, free: 9.863 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/0.593, allocations: 12.02 kB / 0.5672 GB, free: 9.852 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.593, allocations: 11.91 kB / 0.5672 GB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.5933, allocations: 194.4 kB / 0.5674 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.5933, allocations: 0 / 0.5674 GB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.5933, allocations: 11.67 kB / 0.5674 GB, free: 9.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.5935, allocations: 49.25 kB / 0.5674 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.5935, allocations: 0 / 0.5674 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.5935, allocations: 0 / 0.5674 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.5935, allocations: 0 / 0.5674 GB, free: 9.555 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.924e-05/0.5936, allocations: 31.67 kB / 0.5675 GB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.594, allocations: 294.4 kB / 0.5677 GB, free: 9.207 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.5943, allocations: 49.69 kB / 0.5678 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.5943, allocations: 4 kB / 0.5678 GB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.5943, allocations: 30.56 kB / 0.5678 GB, free: 9.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.5943, allocations: 0 / 0.5678 GB, free: 9.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005792/0.5949, allocations: 174.9 kB / 0.568 GB, free: 8.953 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/0.595, allocations: 51.41 kB / 0.568 GB, free: 8.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.5951, allocations: 150.5 kB / 0.5682 GB, free: 8.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.5951, allocations: 25.7 kB / 0.5682 GB, free: 8.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.5952, allocations: 94.83 kB / 0.5683 GB, free: 8.637 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.5952, allocations: 19.73 kB / 0.5683 GB, free: 8.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.007e-06/0.5952, allocations: 0 / 0.5683 GB, free: 8.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.5953, allocations: 322.2 kB / 0.5686 GB, free: 8.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.704e-05/0.5954, allocations: 31.47 kB / 0.5687 GB, free: 8.273 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.5955, allocations: 23.67 kB / 0.5687 GB, free: 8.254 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/0.5956, allocations: 23.23 kB / 0.5687 GB, free: 8.234 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5956, allocations: 7.938 kB / 0.5687 GB, free: 8.227 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001793/0.5958, allocations: 96.38 kB / 0.5688 GB, free: 8.137 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5958, allocations: 6.656 kB / 0.5688 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.5958, allocations: 0 / 0.5688 GB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.5958, allocations: 3.953 kB / 0.5688 GB, free: 8.129 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.5959, allocations: 19.69 kB / 0.5688 GB, free: 8.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.5959, allocations: 4 kB / 0.5688 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.104e-05/0.596, allocations: 11.92 kB / 0.5688 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.596, allocations: 256 / 0.5688 GB, free: 8.098 MB / 378.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 9.339e-05/0.5961, allocations: 117.3 kB / 0.569 GB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.459e-05/0.5962, allocations: 7.906 kB / 0.569 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.5964, allocations: 114.8 kB / 0.5691 GB, free: 7.867 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5964, allocations: 4 kB / 0.5691 GB, free: 7.863 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5964, allocations: 3.953 kB / 0.5691 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.5965, allocations: 0 / 0.5691 GB, free: 7.859 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004345/0.5969, allocations: 368.6 kB / 0.5694 GB, free: 7.473 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5969, allocations: 3.984 kB / 0.5694 GB, free: 7.469 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.444e-05/0.597, allocations: 15.94 kB / 0.5695 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.597, allocations: 0 / 0.5695 GB, free: 7.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.597, allocations: 3.953 kB / 0.5695 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.597, allocations: 4 kB / 0.5695 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.597, allocations: 0 / 0.5695 GB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.5972, allocations: 192.2 kB / 0.5696 GB, free: 7.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.5973, allocations: 92.88 kB / 0.5697 GB, free: 7.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.5973, allocations: 4 kB / 0.5697 GB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-05/0.5974, allocations: 7.953 kB / 0.5697 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.601e-05/0.5975, allocations: 7.984 kB / 0.5698 GB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5975, allocations: 4 kB / 0.5698 GB, free: 7.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.5976, allocations: 130.9 kB / 0.5699 GB, free: 7.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5976, allocations: 0 / 0.5699 GB, free: 7.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000227/0.5978, allocations: 16 kB / 0.5699 GB, free: 7 MB / 378.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.0008563/0.5987, allocations: 417.1 kB / 0.5703 GB, free: 6.645 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001852/0.5989, allocations: 59.2 kB / 0.5704 GB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5989, allocations: 0 / 0.5704 GB, free: 6.594 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.5989, allocations: 31.23 kB / 0.5704 GB, free: 6.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002049/0.5992, allocations: 15.61 kB / 0.5704 GB, free: 6.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003902/0.5996, allocations: 208.5 kB / 0.5706 GB, free: 6.336 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.5998, allocations: 0.7004 MB / 0.5713 GB, free: 5.609 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.5999, allocations: 16.16 kB / 0.5713 GB, free: 5.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.5999, allocations: 19.38 kB / 0.5713 GB, free: 5.57 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.6, allocations: 0 / 0.5713 GB, free: 5.57 MB / 378.7 MB Notification: Performance of Templates: time 0.003302/0.6033, allocations: 1.078 MB / 0.5724 GB, free: 4.504 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches