Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.Test15") [: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.0008686/0.0008686, allocations: 186.2 kB / 7.801 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.067/1.067, allocations: 205.2 MB / 213.4 MB, free: 13.84 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.0007796/0.0007796, allocations: 91.27 kB / 261.4 MB, free: 13.53 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.1602/0.1602, allocations: 43.5 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.681e-06/5.711e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2412, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3464, allocations: 85.68 MB / 0.5491 GB, free: 13.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001466/0.3466, allocations: 67.97 kB / 0.5491 GB, free: 13.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008641/0.3552, allocations: 3.571 MB / 0.5526 GB, free: 9.625 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.3553, allocations: 0 / 0.5526 GB, free: 9.625 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.0002513/0.3555, allocations: 390 kB / 0.553 GB, free: 9.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.201e-05/0.3555, allocations: 12.03 kB / 0.553 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.463e-05/0.3556, allocations: 11.91 kB / 0.553 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.3558, allocations: 201.6 kB / 0.5532 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-06/0.3558, allocations: 0 / 0.5532 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.3558, allocations: 4 kB / 0.5532 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.579e-05/0.3559, allocations: 16 kB / 0.5532 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.525e-05/0.3559, allocations: 45.62 kB / 0.5533 GB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.6e-06/0.3559, allocations: 3.938 kB / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-06/0.3559, allocations: 0 / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-06/0.3559, allocations: 0 / 0.5533 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002749/0.3562, allocations: 273.4 kB / 0.5535 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.3564, allocations: 29.7 kB / 0.5535 GB, free: 8.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.057e-05/0.3564, allocations: 16.86 kB / 0.5536 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3564, allocations: 3.984 kB / 0.5536 GB, free: 8.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.3564, allocations: 30.56 kB / 0.5536 GB, free: 8.465 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.3564, allocations: 3.938 kB / 0.5536 GB, free: 8.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003031/0.3567, allocations: 113.4 kB / 0.5537 GB, free: 8.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.409e-05/0.3568, allocations: 51.41 kB / 0.5538 GB, free: 8.281 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.3569, allocations: 181.3 kB / 0.5539 GB, free: 8.098 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.3569, allocations: 25.7 kB / 0.554 GB, free: 8.066 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.357, allocations: 88.14 kB / 0.554 GB, free: 7.977 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.994e-05/0.357, allocations: 23.73 kB / 0.5541 GB, free: 7.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.357, allocations: 3.938 kB / 0.5541 GB, free: 7.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.3571, allocations: 326.8 kB / 0.5544 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.3571, allocations: 8 kB / 0.5544 GB, free: 7.613 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.901e-05/0.3572, allocations: 12 kB / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.114e-05/0.3572, allocations: 16.17 kB / 0.5544 GB, free: 7.586 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.3572, allocations: 3.938 kB / 0.5544 GB, free: 7.582 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.603e-05/0.3573, allocations: 73.5 kB / 0.5545 GB, free: 7.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/0.3573, allocations: 6.812 kB / 0.5545 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.885e-06/0.3573, allocations: 0 / 0.5545 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.3573, allocations: 0 / 0.5545 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.765e-05/0.3574, allocations: 16 kB / 0.5545 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.3574, allocations: 0 / 0.5545 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.3575, allocations: 11.98 kB / 0.5545 GB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-06/0.3575, allocations: 0 / 0.5545 GB, free: 7.473 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 4.604e-05/0.3575, allocations: 102.5 kB / 0.5546 GB, free: 7.367 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.3576, allocations: 11.95 kB / 0.5546 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.3577, allocations: 93.78 kB / 0.5547 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.3577, allocations: 0 / 0.5547 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.3577, allocations: 0 / 0.5547 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.3577, allocations: 0 / 0.5547 GB, free: 7.254 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.358, allocations: 331 kB / 0.555 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.358, allocations: 0 / 0.555 GB, free: 6.887 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.344e-05/0.3581, allocations: 16 kB / 0.555 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3581, allocations: 7.938 kB / 0.5551 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.679e-06/0.3581, allocations: 0 / 0.5551 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.3581, allocations: 3.984 kB / 0.5551 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.3581, allocations: 0 / 0.5551 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001207/0.3583, allocations: 163.5 kB / 0.5552 GB, free: 6.684 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-05/0.3583, allocations: 93.02 kB / 0.5553 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.3584, allocations: 11.95 kB / 0.5553 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.549e-05/0.3584, allocations: 8 kB / 0.5553 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.3585, allocations: 4 kB / 0.5553 GB, free: 6.551 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.3585, allocations: 0 / 0.5553 GB, free: 6.551 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001078/0.3586, allocations: 160 kB / 0.5555 GB, free: 6.395 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.3588, allocations: 19.94 kB / 0.5555 GB, free: 6.375 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.0004972/0.3593, allocations: 299.4 kB / 0.5558 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.664e-05/0.3594, allocations: 28 kB / 0.5558 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3594, allocations: 0 / 0.5558 GB, free: 6.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.151e-05/0.3594, allocations: 16 kB / 0.5558 GB, free: 6.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.3596, allocations: 23.78 kB / 0.5558 GB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002988/0.3599, allocations: 155.8 kB / 0.556 GB, free: 5.867 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003174/0.3603, allocations: 0.7264 MB / 0.5567 GB, free: 5.117 MB / 394.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3603, allocations: 8 kB / 0.5567 GB, free: 5.109 MB / 394.7 MB Notification: Performance of Templates: time 0.002866/0.3631, allocations: 1.19 MB / 0.5579 GB, free: 3.922 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches