Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [: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.0008655/0.0008656, allocations: 186.8 kB / 7.8 MB, free: 2.441 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.066/1.066, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008423/0.0008423, allocations: 99.41 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.1574/0.1574, allocations: 43.48 MB / 352.8 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.204e-06/7.214e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2404, allocations: 58.83 MB / 476.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.3476, allocations: 86.69 MB / 0.5501 GB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.3478, allocations: 67.97 kB / 0.5501 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0122/0.36, allocations: 4.726 MB / 0.5547 GB, free: 7.559 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.3601, allocations: 4 kB / 0.5547 GB, free: 7.555 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.0003426/0.3604, allocations: 390.1 kB / 0.5551 GB, free: 7.129 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.3605, allocations: 8.031 kB / 0.5551 GB, free: 7.121 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.358e-05/0.3605, allocations: 7.906 kB / 0.5551 GB, free: 7.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.3607, allocations: 214.6 kB / 0.5553 GB, free: 6.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.3608, allocations: 4 kB / 0.5553 GB, free: 6.859 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.3608, allocations: 4 kB / 0.5553 GB, free: 6.855 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.95e-05/0.3608, allocations: 15.98 kB / 0.5554 GB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.458e-05/0.3609, allocations: 45.69 kB / 0.5554 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.32e-06/0.3609, allocations: 0 / 0.5554 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.3609, allocations: 0 / 0.5554 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.361, allocations: 0 / 0.5554 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.3611, allocations: 158.2 kB / 0.5555 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.353e-05/0.3612, allocations: 50.56 kB / 0.5556 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.3612, allocations: 20.86 kB / 0.5556 GB, free: 6.516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.3613, allocations: 3.984 kB / 0.5556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.101e-05/0.3613, allocations: 59.48 kB / 0.5557 GB, free: 6.441 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.3614, allocations: 4 kB / 0.5557 GB, free: 6.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001459/0.3615, allocations: 61.59 kB / 0.5557 GB, free: 6.371 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/0.3615, allocations: 55.41 kB / 0.5558 GB, free: 6.305 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3617, allocations: 153.4 kB / 0.5559 GB, free: 6.148 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3617, allocations: 25.7 kB / 0.556 GB, free: 6.117 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.3617, allocations: 96.06 kB / 0.5561 GB, free: 6.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3618, allocations: 15.81 kB / 0.5561 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.3618, allocations: 0 / 0.5561 GB, free: 6.004 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.58e-05/0.3619, allocations: 322.8 kB / 0.5564 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.3619, allocations: 11.94 kB / 0.5564 GB, free: 5.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.3619, allocations: 25.72 kB / 0.5564 GB, free: 5.637 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.088e-05/0.362, allocations: 19.98 kB / 0.5564 GB, free: 5.617 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.362, allocations: 0 / 0.5564 GB, free: 5.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001056/0.3621, allocations: 73.5 kB / 0.5565 GB, free: 5.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.3621, allocations: 8 kB / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3621, allocations: 0 / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.3621, allocations: 0 / 0.5565 GB, free: 5.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.999e-05/0.3622, allocations: 15.92 kB / 0.5565 GB, free: 5.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.3622, allocations: 4 kB / 0.5565 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.105e-05/0.3622, allocations: 32 / 0.5565 GB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.3623, allocations: 8 kB / 0.5565 GB, free: 5.504 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.101e-05/0.3623, allocations: 108.3 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.3623, allocations: 8.031 kB / 0.5566 GB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001484/0.3625, allocations: 93.94 kB / 0.5567 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3625, allocations: 3.984 kB / 0.5567 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.3625, allocations: 3.938 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3625, allocations: 3.984 kB / 0.5567 GB, free: 5.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.3626, allocations: 166 kB / 0.5569 GB, free: 5.078 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.3626, allocations: 4 kB / 0.5569 GB, free: 5.074 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.67e-05/0.3627, allocations: 4 kB / 0.5569 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3627, allocations: 0 / 0.5569 GB, free: 5.07 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3627, allocations: 4 kB / 0.5569 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3627, allocations: 3.984 kB / 0.5569 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3627, allocations: 0 / 0.5569 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001057/0.3628, allocations: 96.94 kB / 0.557 GB, free: 4.949 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-05/0.3629, allocations: 93 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3629, allocations: 0 / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.363, allocations: 8 kB / 0.5571 GB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.626e-05/0.363, allocations: 7.891 kB / 0.5571 GB, free: 4.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-06/0.363, allocations: 4 kB / 0.5571 GB, free: 4.82 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.103e-05/0.3631, allocations: 124.1 kB / 0.5572 GB, free: 4.699 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.3633, allocations: 23.94 kB / 0.5573 GB, free: 4.676 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.0005631/0.3639, allocations: 313.2 kB / 0.5576 GB, free: 4.402 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.165e-05/0.364, allocations: 39.98 kB / 0.5576 GB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.364, allocations: 0 / 0.5576 GB, free: 4.363 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.591e-05/0.364, allocations: 23.94 kB / 0.5576 GB, free: 4.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.3642, allocations: 20.59 kB / 0.5576 GB, free: 4.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.3645, allocations: 127.5 kB / 0.5578 GB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.3647, allocations: 0.7231 MB / 0.5585 GB, free: 3.418 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3647, allocations: 0 / 0.5585 GB, free: 3.418 MB / 394.7 MB Notification: Performance of Templates: time 0.00321/0.3679, allocations: 1.385 MB / 0.5598 GB, free: 2.039 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time