Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 221.5 MB / 230.7 MB, free: 7.559 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008597/0.0008597, allocations: 84.22 kB / 281.6 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.203/0.203, allocations: 44.15 MB / 376.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.953e-05, allocations: 8 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1473, allocations: 61.91 MB / 0.4947 GB, free: 1.23 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.5375, allocations: 88.33 MB / 0.5809 GB, free: 8.168 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001801/0.5377, allocations: 67.97 kB / 0.581 GB, free: 8.102 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01439/0.5521, allocations: 5.315 MB / 0.5862 GB, free: 2.793 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.5522, allocations: 0 / 0.5862 GB, free: 2.793 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.5522, allocations: 8 kB / 0.5862 GB, free: 2.785 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000477/0.5527, allocations: 386.2 kB / 0.5866 GB, free: 2.363 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.5527, allocations: 11.98 kB / 0.5866 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.5528, allocations: 7.906 kB / 0.5866 GB, free: 2.344 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.5531, allocations: 214.7 kB / 0.5868 GB, free: 2.094 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.5531, allocations: 3.938 kB / 0.5868 GB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.845e-05/0.5531, allocations: 7.953 kB / 0.5868 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.683e-05/0.5532, allocations: 12 kB / 0.5868 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.773e-05/0.5533, allocations: 49.67 kB / 0.5869 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5533, allocations: 0 / 0.5869 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.5534, allocations: 0 / 0.5869 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.5534, allocations: 0 / 0.5869 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.5536, allocations: 162.2 kB / 0.587 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.781e-05/0.5537, allocations: 46.56 kB / 0.5871 GB, free: 1.766 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.5537, allocations: 20.84 kB / 0.5871 GB, free: 1.742 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.5537, allocations: 7.938 kB / 0.5871 GB, free: 1.734 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.5539, allocations: 67.44 kB / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.332e-06/0.5539, allocations: 0 / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001911/0.5541, allocations: 73.59 kB / 0.5872 GB, free: 1.578 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.5541, allocations: 55.39 kB / 0.5873 GB, free: 1.512 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.5543, allocations: 165.3 kB / 0.5874 GB, free: 1.344 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.5544, allocations: 25.7 kB / 0.5875 GB, free: 1.312 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.096e-05/0.5544, allocations: 100.1 kB / 0.5876 GB, free: 1.211 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.5545, allocations: 23.73 kB / 0.5876 GB, free: 1.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-06/0.5545, allocations: 0 / 0.5876 GB, free: 1.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.5546, allocations: 322.8 kB / 0.5879 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.5546, allocations: 8 kB / 0.5879 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.859e-05/0.5547, allocations: 29.7 kB / 0.5879 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.206e-05/0.5547, allocations: 15.98 kB / 0.5879 GB, free: 0.8047 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.5547, allocations: 8 kB / 0.588 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001155/0.5548, allocations: 73.59 kB / 0.588 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.5548, allocations: 8 kB / 0.588 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.5549, allocations: 0 / 0.588 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.5549, allocations: 3.953 kB / 0.588 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.575e-05/0.555, allocations: 11.98 kB / 0.588 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.555, allocations: 4 kB / 0.588 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.254e-05/0.555, allocations: 0 / 0.588 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.555, allocations: 4 kB / 0.5881 GB, free: 0.6875 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.917e-05/0.5551, allocations: 106.4 kB / 0.5882 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.5551, allocations: 15.81 kB / 0.5882 GB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.5553, allocations: 86.02 kB / 0.5882 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.5553, allocations: 4 kB / 0.5883 GB, free: 480 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.5553, allocations: 3.953 kB / 0.5883 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5553, allocations: 3.984 kB / 0.5883 GB, free: 472 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.5555, allocations: 166.2 kB / 0.5884 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.5555, allocations: 0 / 0.5884 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.5555, allocations: 7.984 kB / 0.5884 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.5555, allocations: 3.938 kB / 0.5884 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.5555, allocations: 4 kB / 0.5884 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.5555, allocations: 4 kB / 0.5884 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.5555, allocations: 0 / 0.5884 GB, free: 248 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.5557, allocations: 108.9 kB / 0.5885 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.5558, allocations: 92.95 kB / 0.5886 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.5558, allocations: 4 kB / 0.5886 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.282e-05/0.5558, allocations: 3.984 kB / 0.5886 GB, free: 0 / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.5559, allocations: 12.17 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.957e-06/0.5559, allocations: 4 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.556, allocations: 141 kB / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.556, allocations: 0 / 0.5888 GB, free: 15.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002202/0.5563, allocations: 23.91 kB / 0.5888 GB, free: 15.82 MB / 410.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: 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 (6): * Single equations (assignments): 4 * 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.000814/0.5571, allocations: 351.8 kB / 0.5891 GB, free: 15.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.5572, allocations: 43.92 kB / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5572, allocations: 0 / 0.5892 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.817e-05/0.5573, allocations: 20 kB / 0.5892 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.5575, allocations: 19.98 kB / 0.5892 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.5578, allocations: 136.1 kB / 0.5894 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.5581, allocations: 0.708 MB / 0.59 GB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.708e-05/0.5581, allocations: 12.67 kB / 0.5901 GB, free: 14.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.355e-05/0.5582, allocations: 15.44 kB / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5582, allocations: 0 / 0.5901 GB, free: 14.54 MB / 410.7 MB Notification: Performance of Templates: time 0.00353/0.5617, allocations: 1.4 MB / 0.5914 GB, free: 13.15 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time