Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 179.9 kB / 16.77 MB, free: 5.051 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.563/1.563, allocations: 205.4 MB / 222.9 MB, free: 8.953 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.0008019/0.0008019, allocations: 85.09 kB / 271.3 MB, free: 8.25 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.3955/0.3955, allocations: 43.56 MB / 363.1 MB, free: 52.09 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003837/0.0003839, allocations: 16 kB / 432.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1429, allocations: 58.85 MB / 491.5 MB, free: 10.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.5604, allocations: 87.85 MB / 0.5658 GB, free: 14.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.5607, allocations: 79.95 kB / 0.5658 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01436/0.5751, allocations: 5.244 MB / 0.571 GB, free: 8.863 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5752, allocations: 0 / 0.571 GB, free: 8.863 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.5752, allocations: 4 kB / 0.571 GB, free: 8.859 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005578/0.5758, allocations: 410.8 kB / 0.5714 GB, free: 8.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.5758, allocations: 8.031 kB / 0.5714 GB, free: 8.402 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.702e-05/0.5759, allocations: 8.844 kB / 0.5714 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.5762, allocations: 212.1 kB / 0.5716 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.5762, allocations: 4.375 kB / 0.5716 GB, free: 8.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.222e-05/0.5762, allocations: 4.375 kB / 0.5716 GB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.5764, allocations: 82.75 kB / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5765, allocations: 192 / 0.5717 GB, free: 8.051 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.687e-05/0.5765, allocations: 3.938 kB / 0.5717 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.5765, allocations: 3.938 kB / 0.5717 GB, free: 8.043 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.5766, allocations: 27.97 kB / 0.5717 GB, free: 8.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004218/0.577, allocations: 304.7 kB / 0.572 GB, free: 7.668 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.5772, allocations: 62.48 kB / 0.572 GB, free: 7.598 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.5772, allocations: 20.97 kB / 0.5721 GB, free: 7.574 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.5773, allocations: 4 kB / 0.5721 GB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001599/0.5774, allocations: 75.31 kB / 0.5721 GB, free: 7.484 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.5775, allocations: 4 kB / 0.5721 GB, free: 7.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005679/0.578, allocations: 177.4 kB / 0.5723 GB, free: 7.301 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/0.5781, allocations: 81.11 kB / 0.5724 GB, free: 7.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.5783, allocations: 158.7 kB / 0.5725 GB, free: 7.043 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5783, allocations: 25.7 kB / 0.5726 GB, free: 7.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.5784, allocations: 100.1 kB / 0.5727 GB, free: 6.91 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.5784, allocations: 27.56 kB / 0.5727 GB, free: 6.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.5784, allocations: 0 / 0.5727 GB, free: 6.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.5785, allocations: 330.8 kB / 0.573 GB, free: 6.551 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.068e-05/0.5786, allocations: 23.98 kB / 0.573 GB, free: 6.527 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.599e-05/0.5787, allocations: 43.66 kB / 0.5731 GB, free: 6.477 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.5788, allocations: 66.58 kB / 0.5731 GB, free: 6.406 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.5788, allocations: 0 / 0.5731 GB, free: 6.406 MB / 394.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001896/0.579, allocations: 113.6 kB / 0.5732 GB, free: 6.289 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.5791, allocations: 4 kB / 0.5732 GB, free: 6.285 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.5791, allocations: 4 kB / 0.5732 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5791, allocations: 0 / 0.5732 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.003e-05/0.5792, allocations: 15.98 kB / 0.5733 GB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.5792, allocations: 4 kB / 0.5733 GB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.589e-05/0.5793, allocations: 4 kB / 0.5733 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.5793, allocations: 7.938 kB / 0.5733 GB, free: 6.25 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.951e-05/0.5794, allocations: 126.3 kB / 0.5734 GB, free: 6.117 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.5794, allocations: 15.94 kB / 0.5734 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.5797, allocations: 126.2 kB / 0.5735 GB, free: 5.973 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5797, allocations: 4 kB / 0.5735 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5797, allocations: 0 / 0.5735 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.5797, allocations: 0 / 0.5735 GB, free: 5.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004821/0.5802, allocations: 415.2 kB / 0.5739 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5802, allocations: 32 / 0.5739 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.103e-05/0.5803, allocations: 15.94 kB / 0.5739 GB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.5803, allocations: 4 kB / 0.5739 GB, free: 5.484 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.5803, allocations: 7.984 kB / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.5803, allocations: 0 / 0.574 GB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5803, allocations: 4.406 kB / 0.574 GB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.5806, allocations: 212.4 kB / 0.5742 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.479e-05/0.5806, allocations: 97 kB / 0.5743 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.272e-05/0.5807, allocations: 96 / 0.5743 GB, free: 5.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.207e-05/0.5807, allocations: 11.94 kB / 0.5743 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.265e-05/0.5808, allocations: 11.92 kB / 0.5743 GB, free: 5.109 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.5808, allocations: 4 kB / 0.5743 GB, free: 5.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.5809, allocations: 117.5 kB / 0.5744 GB, free: 4.992 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5809, allocations: 0 / 0.5744 GB, free: 4.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002787/0.5812, allocations: 51.92 kB / 0.5744 GB, free: 4.941 MB / 394.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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001149/0.5824, allocations: 0.506 MB / 0.5749 GB, free: 4.535 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001975/0.5826, allocations: 67.84 kB / 0.575 GB, free: 4.469 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.5826, allocations: 4 kB / 0.575 GB, free: 4.465 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.873e-05/0.5827, allocations: 31.98 kB / 0.575 GB, free: 4.434 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.583, allocations: 27.97 kB / 0.5751 GB, free: 4.406 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004656/0.5835, allocations: 228.3 kB / 0.5753 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.5838, allocations: 0.6965 MB / 0.576 GB, free: 3.438 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.973e-05/0.5839, allocations: 20.86 kB / 0.576 GB, free: 3.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.5839, allocations: 23.42 kB / 0.576 GB, free: 3.391 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5839, allocations: 0 / 0.576 GB, free: 3.391 MB / 394.7 MB Notification: Performance of Templates: time 0.004703/0.5886, allocations: 1.991 MB / 0.5779 GB, free: 1.414 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches