Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,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.Test16") [: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.0009414/0.0009415, allocations: 188.2 kB / 7.807 MB, free: 2.488 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.063/1.063, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.0008164/0.0008163, allocations: 90.8 kB / 261.4 MB, free: 13.56 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.1564/0.1564, allocations: 43.49 MB / 352.8 MB, free: 1.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.823e-06/6.913e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.2445, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09779/0.3424, allocations: 85.67 MB / 0.5491 GB, free: 13.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001833/0.3426, allocations: 67.97 kB / 0.5491 GB, free: 13.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008984/0.3516, allocations: 3.572 MB / 0.5526 GB, free: 9.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3516, allocations: 4 kB / 0.5526 GB, free: 9.664 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.0003023/0.3519, allocations: 390 kB / 0.553 GB, free: 9.238 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.903e-05/0.352, allocations: 8.031 kB / 0.553 GB, free: 9.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.352, allocations: 7.906 kB / 0.553 GB, free: 9.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/0.3522, allocations: 205.6 kB / 0.5532 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.089e-06/0.3522, allocations: 0 / 0.5532 GB, free: 8.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3523, allocations: 4 kB / 0.5532 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.465e-05/0.3523, allocations: 16 kB / 0.5532 GB, free: 8.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.046e-05/0.3524, allocations: 41.69 kB / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3524, allocations: 0 / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-06/0.3524, allocations: 0 / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.3524, allocations: 0 / 0.5533 GB, free: 8.918 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.3527, allocations: 281.4 kB / 0.5535 GB, free: 8.605 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.3529, allocations: 33.7 kB / 0.5536 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.3529, allocations: 12.94 kB / 0.5536 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.3529, allocations: 0 / 0.5536 GB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.415e-05/0.353, allocations: 30.56 kB / 0.5536 GB, free: 8.512 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.353, allocations: 0 / 0.5536 GB, free: 8.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003285/0.3533, allocations: 121.2 kB / 0.5537 GB, free: 8.387 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.3533, allocations: 55.41 kB / 0.5538 GB, free: 8.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001515/0.3535, allocations: 173.3 kB / 0.5539 GB, free: 8.145 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.3535, allocations: 25.7 kB / 0.554 GB, free: 8.113 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.882e-05/0.3536, allocations: 92.12 kB / 0.554 GB, free: 8.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.837e-05/0.3536, allocations: 23.67 kB / 0.5541 GB, free: 7.996 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.3536, allocations: 0 / 0.5541 GB, free: 7.996 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.3537, allocations: 322.8 kB / 0.5544 GB, free: 7.672 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.3537, allocations: 11.98 kB / 0.5544 GB, free: 7.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.3537, allocations: 12 kB / 0.5544 GB, free: 7.648 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.3538, allocations: 12 kB / 0.5544 GB, free: 7.637 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.3538, allocations: 0 / 0.5544 GB, free: 7.637 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.853e-05/0.3539, allocations: 77.44 kB / 0.5545 GB, free: 7.555 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/0.3539, allocations: 4 kB / 0.5545 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.3539, allocations: 0 / 0.5545 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.328e-06/0.3539, allocations: 3.984 kB / 0.5545 GB, free: 7.547 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.354, allocations: 16 kB / 0.5545 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.354, allocations: 4 kB / 0.5545 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.3541, allocations: 8.234 kB / 0.5545 GB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3541, allocations: 4 kB / 0.5545 GB, free: 7.516 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 5e-05/0.3541, allocations: 110 kB / 0.5546 GB, free: 7.406 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.069e-05/0.3542, allocations: 15.75 kB / 0.5546 GB, free: 7.391 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.3543, allocations: 81.84 kB / 0.5547 GB, free: 7.301 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.3543, allocations: 4 kB / 0.5547 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.3543, allocations: 0 / 0.5547 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3544, allocations: 3.938 kB / 0.5547 GB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.3546, allocations: 331 kB / 0.555 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3547, allocations: 0 / 0.555 GB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.3547, allocations: 12 kB / 0.555 GB, free: 6.914 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3547, allocations: 4 kB / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.3547, allocations: 0 / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3548, allocations: 0 / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3548, allocations: 0 / 0.5551 GB, free: 6.91 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001187/0.3549, allocations: 175.3 kB / 0.5552 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.3549, allocations: 85.02 kB / 0.5553 GB, free: 6.621 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.355, allocations: 7.906 kB / 0.5553 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.717e-05/0.355, allocations: 11.98 kB / 0.5553 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.793e-05/0.3551, allocations: 4 kB / 0.5553 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.98e-06/0.3551, allocations: 4 kB / 0.5553 GB, free: 6.594 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001137/0.3552, allocations: 152.1 kB / 0.5555 GB, free: 6.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.3554, allocations: 19.92 kB / 0.5555 GB, free: 6.426 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.0005207/0.356, allocations: 306.4 kB / 0.5558 GB, free: 6.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.018e-05/0.356, allocations: 39.92 kB / 0.5558 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3561, allocations: 0 / 0.5558 GB, free: 6.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.3561, allocations: 16 kB / 0.5558 GB, free: 6.102 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.3563, allocations: 19.84 kB / 0.5559 GB, free: 6.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.3566, allocations: 151.8 kB / 0.556 GB, free: 5.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/0.3569, allocations: 0.7231 MB / 0.5567 GB, free: 5.152 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3569, allocations: 4 kB / 0.5567 GB, free: 5.148 MB / 394.7 MB Notification: Performance of Templates: time 0.002797/0.3597, allocations: 1.19 MB / 0.5579 GB, free: 3.961 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches