Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3") [: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.0009187/0.0009187, allocations: 189.7 kB / 7.803 MB, free: 2.449 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.102/1.102, allocations: 205.2 MB / 213.4 MB, free: 13.9 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.0007858/0.0007857, allocations: 95.66 kB / 261.4 MB, free: 13.52 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.1607/0.1607, allocations: 43.48 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.471e-06/5.581e-06, allocations: 0 / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2507, allocations: 58.83 MB / 476.6 MB, free: 5.211 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09921/0.35, allocations: 85.68 MB / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001637/0.3502, allocations: 71.95 kB / 0.5491 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008994/0.3592, allocations: 3.478 MB / 0.5525 GB, free: 9.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.3592, allocations: 7.938 kB / 0.5525 GB, free: 9.707 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003313/0.3596, allocations: 390 kB / 0.5529 GB, free: 9.281 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.3596, allocations: 8.031 kB / 0.5529 GB, free: 9.273 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.522e-05/0.3596, allocations: 11.91 kB / 0.5529 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3599, allocations: 202.8 kB / 0.5531 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.3599, allocations: 3.906 kB / 0.5531 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.3599, allocations: 0 / 0.5531 GB, free: 9.02 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.015e-05/0.36, allocations: 15.98 kB / 0.5531 GB, free: 9.004 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.592e-05/0.3601, allocations: 41.69 kB / 0.5532 GB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.3601, allocations: 4 kB / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3601, allocations: 0 / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3601, allocations: 0 / 0.5532 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.3604, allocations: 269.4 kB / 0.5534 GB, free: 8.652 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.3606, allocations: 33.7 kB / 0.5535 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.416e-05/0.3606, allocations: 8.859 kB / 0.5535 GB, free: 8.602 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.678e-05/0.3606, allocations: 4 kB / 0.5535 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3607, allocations: 38.56 kB / 0.5535 GB, free: 8.551 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3607, allocations: 0 / 0.5535 GB, free: 8.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003452/0.361, allocations: 117.2 kB / 0.5536 GB, free: 8.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.402e-05/0.3611, allocations: 55.41 kB / 0.5537 GB, free: 8.363 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.3612, allocations: 165.4 kB / 0.5538 GB, free: 8.195 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3612, allocations: 25.7 kB / 0.5539 GB, free: 8.164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.125e-05/0.3613, allocations: 92.14 kB / 0.5539 GB, free: 8.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.289e-05/0.3613, allocations: 19.7 kB / 0.554 GB, free: 8.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.3613, allocations: 3.938 kB / 0.554 GB, free: 8.047 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3614, allocations: 322.8 kB / 0.5543 GB, free: 7.723 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.429e-05/0.3614, allocations: 12 kB / 0.5543 GB, free: 7.711 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.929e-05/0.3615, allocations: 12 kB / 0.5543 GB, free: 7.699 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.638e-05/0.3615, allocations: 11.98 kB / 0.5543 GB, free: 7.688 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.3615, allocations: 0 / 0.5543 GB, free: 7.688 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.665e-05/0.3616, allocations: 69.53 kB / 0.5544 GB, free: 7.613 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.3616, allocations: 6.812 kB / 0.5544 GB, free: 7.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3616, allocations: 8 kB / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.3617, allocations: 0 / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.3617, allocations: 12 kB / 0.5544 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3618, allocations: 0 / 0.5544 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.518e-05/0.3618, allocations: 12.14 kB / 0.5544 GB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3618, allocations: 4 kB / 0.5544 GB, free: 7.574 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.226e-05/0.3619, allocations: 105.1 kB / 0.5545 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.25e-05/0.3619, allocations: 7.906 kB / 0.5545 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001471/0.3621, allocations: 81.8 kB / 0.5546 GB, free: 7.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3621, allocations: 7.906 kB / 0.5546 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3621, allocations: 3.938 kB / 0.5546 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3621, allocations: 0 / 0.5546 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000296/0.3624, allocations: 319.1 kB / 0.5549 GB, free: 7.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3624, allocations: 8 kB / 0.5549 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.3625, allocations: 11.98 kB / 0.5549 GB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-06/0.3625, allocations: 7.906 kB / 0.5549 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3625, allocations: 0 / 0.5549 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3625, allocations: 0 / 0.5549 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3625, allocations: 0 / 0.5549 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001276/0.3627, allocations: 167.4 kB / 0.5551 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.3627, allocations: 100.9 kB / 0.5552 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3627, allocations: 0 / 0.5552 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.3628, allocations: 7.984 kB / 0.5552 GB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.469e-05/0.3629, allocations: 4 kB / 0.5552 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-06/0.3629, allocations: 144 / 0.5552 GB, free: 6.672 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001068/0.363, allocations: 144.1 kB / 0.5553 GB, free: 6.531 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002192/0.3632, allocations: 23.88 kB / 0.5554 GB, free: 6.508 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0005252/0.3637, allocations: 301.9 kB / 0.5557 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.784e-05/0.3638, allocations: 35.92 kB / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.3638, allocations: 0 / 0.5557 GB, free: 6.207 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.018e-05/0.3639, allocations: 20 kB / 0.5557 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.3641, allocations: 19.78 kB / 0.5557 GB, free: 6.172 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.3644, allocations: 147.8 kB / 0.5559 GB, free: 5.996 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.3647, allocations: 0.7264 MB / 0.5566 GB, free: 5.246 MB / 394.7 MB Notification: Performance of SimCode: time 1.813e-06/0.3647, allocations: 0 / 0.5566 GB, free: 5.246 MB / 394.7 MB Notification: Performance of Templates: time 0.002976/0.3677, allocations: 1.188 MB / 0.5577 GB, free: 4.062 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches