Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000864/0.0008641, allocations: 187.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.059/1.059, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008051/0.0008051, allocations: 90.84 kB / 261.4 MB, free: 13.54 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.1545/0.1545, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.224e-06/7.244e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2341, allocations: 58.83 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1073/0.3415, allocations: 86.68 MB / 0.5501 GB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002018/0.3418, allocations: 67.97 kB / 0.5501 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01275/0.3545, allocations: 4.776 MB / 0.5548 GB, free: 7.488 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.3546, allocations: 4 kB / 0.5548 GB, free: 7.484 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.0003324/0.3549, allocations: 386.1 kB / 0.5552 GB, free: 7.062 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3549, allocations: 8.031 kB / 0.5552 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.815e-05/0.355, allocations: 11.89 kB / 0.5552 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002556/0.3552, allocations: 217.6 kB / 0.5554 GB, free: 6.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3553, allocations: 4 kB / 0.5554 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.3553, allocations: 0 / 0.5554 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.161e-05/0.3554, allocations: 15.98 kB / 0.5554 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.947e-05/0.3554, allocations: 45.62 kB / 0.5554 GB, free: 6.723 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3554, allocations: 3.984 kB / 0.5554 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.3555, allocations: 0 / 0.5554 GB, free: 6.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3555, allocations: 4 kB / 0.5555 GB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001536/0.3556, allocations: 162.2 kB / 0.5556 GB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.401e-05/0.3557, allocations: 54.55 kB / 0.5557 GB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.3558, allocations: 16.86 kB / 0.5557 GB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.3558, allocations: 4 kB / 0.5557 GB, free: 6.434 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.869e-05/0.3559, allocations: 55.5 kB / 0.5557 GB, free: 6.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.3559, allocations: 0 / 0.5557 GB, free: 6.367 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001564/0.356, allocations: 73.5 kB / 0.5558 GB, free: 6.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.477e-05/0.3561, allocations: 59.33 kB / 0.5559 GB, free: 6.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.3562, allocations: 166.3 kB / 0.556 GB, free: 6.051 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3562, allocations: 25.7 kB / 0.556 GB, free: 6.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.848e-05/0.3563, allocations: 88.14 kB / 0.5561 GB, free: 5.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3563, allocations: 11.83 kB / 0.5561 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.3563, allocations: 3.938 kB / 0.5561 GB, free: 5.914 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.3564, allocations: 326.7 kB / 0.5565 GB, free: 5.586 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.594e-05/0.3564, allocations: 16 kB / 0.5565 GB, free: 5.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.113e-05/0.3565, allocations: 25.72 kB / 0.5565 GB, free: 5.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.18e-05/0.3565, allocations: 15.98 kB / 0.5565 GB, free: 5.523 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.3565, allocations: 0 / 0.5565 GB, free: 5.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001041/0.3566, allocations: 73.53 kB / 0.5566 GB, free: 5.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.3566, allocations: 4 kB / 0.5566 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.3567, allocations: 0 / 0.5566 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/0.3567, allocations: 4 kB / 0.5566 GB, free: 5.438 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.289e-05/0.3567, allocations: 16.03 kB / 0.5566 GB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.3568, allocations: 3.984 kB / 0.5566 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.896e-05/0.3568, allocations: 12.03 kB / 0.5566 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.3568, allocations: 0 / 0.5566 GB, free: 5.406 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 5.748e-05/0.3569, allocations: 105 kB / 0.5567 GB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.3569, allocations: 11.81 kB / 0.5567 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001378/0.3571, allocations: 81.8 kB / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.3571, allocations: 0 / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.3571, allocations: 0 / 0.5568 GB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3571, allocations: 4 kB / 0.5568 GB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.3572, allocations: 166.2 kB / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.3572, allocations: 0 / 0.557 GB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.736e-05/0.3572, allocations: 7.906 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3572, allocations: 0 / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.3573, allocations: 7.984 kB / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3573, allocations: 0 / 0.557 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3573, allocations: 3.938 kB / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001107/0.3574, allocations: 100.9 kB / 0.5571 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.757e-05/0.3574, allocations: 96.94 kB / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.24e-05/0.3575, allocations: 0 / 0.5572 GB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.487e-05/0.3575, allocations: 4 kB / 0.5572 GB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.429e-05/0.3575, allocations: 3.984 kB / 0.5572 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.221e-06/0.3576, allocations: 4 kB / 0.5572 GB, free: 4.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.788e-05/0.3577, allocations: 136.1 kB / 0.5573 GB, free: 4.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002042/0.3579, allocations: 27.92 kB / 0.5573 GB, free: 4.574 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: 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.0005879/0.3585, allocations: 322.1 kB / 0.5576 GB, free: 4.289 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.168e-05/0.3586, allocations: 43.88 kB / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.3586, allocations: 0 / 0.5577 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.4e-05/0.3586, allocations: 16 kB / 0.5577 GB, free: 4.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001998/0.3588, allocations: 27.83 kB / 0.5577 GB, free: 4.203 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002829/0.3591, allocations: 127.5 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002331/0.3594, allocations: 0.731 MB / 0.5586 GB, free: 3.293 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3594, allocations: 0 / 0.5586 GB, free: 3.293 MB / 394.7 MB Notification: Performance of Templates: time 0.003278/0.3626, allocations: 1.401 MB / 0.5599 GB, free: 1.898 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_3.2.3_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