Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.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.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002285/0.002285, allocations: 181 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001563/0.001563, allocations: 86.66 kB / 267.5 MB, free: 14.04 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.3192/0.3192, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.783e-05, allocations: 4 kB / 425.3 MB, free: 23.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1224, allocations: 58.86 MB / 484.1 MB, free: 12.46 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4906/0.613, allocations: 87.61 MB / 0.5584 GB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003422/0.6134, allocations: 84.84 kB / 0.5584 GB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02643/0.6399, allocations: 5.478 MB / 0.5638 GB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6399, allocations: 0 / 0.5638 GB, free: 11.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.64, allocations: 7.984 kB / 0.5638 GB, free: 11.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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005834/0.6406, allocations: 392.9 kB / 0.5642 GB, free: 10.87 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.6406, allocations: 12.02 kB / 0.5642 GB, free: 10.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.692e-05/0.6407, allocations: 15.81 kB / 0.5642 GB, free: 10.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004039/0.6411, allocations: 215.3 kB / 0.5644 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.406e-05/0.6411, allocations: 11.67 kB / 0.5644 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.6412, allocations: 3.938 kB / 0.5644 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.6414, allocations: 48.5 kB / 0.5645 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.6414, allocations: 4 kB / 0.5645 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.6414, allocations: 0 / 0.5645 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.6414, allocations: 0 / 0.5645 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.479e-05/0.6415, allocations: 23.23 kB / 0.5645 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.6421, allocations: 300.4 kB / 0.5648 GB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.6422, allocations: 60.31 kB / 0.5648 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.957e-05/0.6423, allocations: 16.23 kB / 0.5649 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.6423, allocations: 0 / 0.5649 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001782/0.6425, allocations: 69.89 kB / 0.5649 GB, free: 10.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.6426, allocations: 3.938 kB / 0.5649 GB, free: 10.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006498/0.6432, allocations: 162.2 kB / 0.5651 GB, free: 9.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.6433, allocations: 54.72 kB / 0.5651 GB, free: 9.848 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.6436, allocations: 191.5 kB / 0.5653 GB, free: 9.676 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.6436, allocations: 25.7 kB / 0.5653 GB, free: 9.645 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.6437, allocations: 166.6 kB / 0.5655 GB, free: 9.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.6438, allocations: 23.08 kB / 0.5655 GB, free: 9.473 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.6438, allocations: 3.375 kB / 0.5655 GB, free: 9.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6439, allocations: 314.8 kB / 0.5658 GB, free: 9.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.644, allocations: 17.5 kB / 0.5658 GB, free: 9.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.6441, allocations: 46.7 kB / 0.5659 GB, free: 9.102 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.55e-05/0.6442, allocations: 22.48 kB / 0.5659 GB, free: 9.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6442, allocations: 0 / 0.5659 GB, free: 9.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002413/0.6445, allocations: 93.27 kB / 0.566 GB, free: 9.004 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.6445, allocations: 8 kB / 0.566 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.6445, allocations: 4.031 kB / 0.566 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.6446, allocations: 3.984 kB / 0.566 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.6447, allocations: 22.92 kB / 0.566 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6448, allocations: 3.953 kB / 0.566 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.831e-05/0.6449, allocations: 3.938 kB / 0.566 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.6449, allocations: 4 kB / 0.566 GB, free: 8.957 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.13e-05/0.645, allocations: 108.5 kB / 0.5661 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.75e-05/0.645, allocations: 7.906 kB / 0.5662 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.6454, allocations: 125.9 kB / 0.5663 GB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.6455, allocations: 4.188 kB / 0.5663 GB, free: 8.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.6455, allocations: 4 kB / 0.5663 GB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.6455, allocations: 3.953 kB / 0.5663 GB, free: 8.719 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006592/0.6462, allocations: 418.8 kB / 0.5667 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.6462, allocations: 0 / 0.5667 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.736e-05/0.6463, allocations: 11.94 kB / 0.5667 GB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.6463, allocations: 4 kB / 0.5667 GB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.6463, allocations: 4.031 kB / 0.5667 GB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/0.6464, allocations: 7.938 kB / 0.5667 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.6464, allocations: 0 / 0.5667 GB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.6467, allocations: 214.6 kB / 0.5669 GB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.6468, allocations: 96.36 kB / 0.567 GB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.6469, allocations: 15.88 kB / 0.567 GB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.647, allocations: 4 kB / 0.567 GB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.647, allocations: 7.375 kB / 0.567 GB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.6471, allocations: 8.359 kB / 0.567 GB, free: 7.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002229/0.6473, allocations: 158.2 kB / 0.5672 GB, free: 7.777 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6473, allocations: 0 / 0.5672 GB, free: 7.777 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003798/0.6477, allocations: 35.25 kB / 0.5672 GB, free: 7.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001323/0.6491, allocations: 425.3 kB / 0.5676 GB, free: 7.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003048/0.6494, allocations: 54.11 kB / 0.5677 GB, free: 7.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.6494, allocations: 4 kB / 0.5677 GB, free: 7.344 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.996e-05/0.6495, allocations: 32.31 kB / 0.5677 GB, free: 7.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004262/0.65, allocations: 34.67 kB / 0.5677 GB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006098/0.6506, allocations: 216 kB / 0.568 GB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.651, allocations: 0.7121 MB / 0.5686 GB, free: 6.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.068e-05/0.6511, allocations: 15.44 kB / 0.5687 GB, free: 6.328 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6511, allocations: 0 / 0.5687 GB, free: 6.328 MB / 378.7 MB Notification: Performance of Templates: time 0.007956/0.6591, allocations: 1.999 MB / 0.5706 GB, free: 4.34 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches