Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") [: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.0008697/0.0008697, 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.067/1.067, 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.0008234/0.0008234, allocations: 94.86 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.1594/0.1594, allocations: 43.49 MB / 352.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.133e-06/7.174e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2281, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1192/0.3474, allocations: 85.79 MB / 0.5492 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.3476, allocations: 67.95 kB / 0.5492 GB, free: 13.11 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009764/0.3574, allocations: 3.894 MB / 0.553 GB, free: 9.203 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3575, allocations: 4 kB / 0.553 GB, free: 9.199 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003251/0.3578, allocations: 406 kB / 0.5534 GB, free: 8.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.3578, allocations: 8.031 kB / 0.5534 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.3579, allocations: 15.81 kB / 0.5534 GB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.3581, allocations: 202.9 kB / 0.5536 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3581, allocations: 7.906 kB / 0.5536 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.3581, allocations: 0 / 0.5536 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.296e-05/0.3582, allocations: 31.92 kB / 0.5537 GB, free: 8.457 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.3583, allocations: 71.39 kB / 0.5537 GB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3583, allocations: 3.938 kB / 0.5538 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.3584, allocations: 0 / 0.5538 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3584, allocations: 4 kB / 0.5538 GB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.3588, allocations: 381.5 kB / 0.5541 GB, free: 7.953 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001957/0.359, allocations: 59.42 kB / 0.5542 GB, free: 7.883 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.359, allocations: 29.89 kB / 0.5542 GB, free: 7.848 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.359, allocations: 3.906 kB / 0.5542 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.3591, allocations: 38.5 kB / 0.5542 GB, free: 7.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.91e-07/0.3591, allocations: 4 kB / 0.5542 GB, free: 7.793 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004736/0.3596, allocations: 189 kB / 0.5544 GB, free: 7.602 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.3596, allocations: 77.11 kB / 0.5545 GB, free: 7.508 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.3598, allocations: 193.5 kB / 0.5547 GB, free: 7.309 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.3598, allocations: 25.7 kB / 0.5547 GB, free: 7.277 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.3598, allocations: 100 kB / 0.5548 GB, free: 7.176 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3599, allocations: 31.55 kB / 0.5548 GB, free: 7.145 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.3599, allocations: 0 / 0.5548 GB, free: 7.145 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.064e-05/0.36, allocations: 322.8 kB / 0.5551 GB, free: 6.82 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.613e-05/0.36, allocations: 27.98 kB / 0.5552 GB, free: 6.793 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.936e-05/0.3601, allocations: 33.72 kB / 0.5552 GB, free: 6.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.961e-05/0.3601, allocations: 36.11 kB / 0.5552 GB, free: 6.719 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3601, allocations: 3.906 kB / 0.5552 GB, free: 6.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001356/0.3603, allocations: 101.5 kB / 0.5553 GB, free: 6.609 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/0.3603, allocations: 8 kB / 0.5553 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3603, allocations: 0 / 0.5553 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.3603, allocations: 0 / 0.5553 GB, free: 6.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.318e-05/0.3604, allocations: 23.98 kB / 0.5554 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3604, allocations: 3.906 kB / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.3605, allocations: 7.984 kB / 0.5554 GB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-06/0.3605, allocations: 8 kB / 0.5554 GB, free: 6.559 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.914e-05/0.3606, allocations: 106.3 kB / 0.5555 GB, free: 6.449 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.443e-05/0.3606, allocations: 15.81 kB / 0.5555 GB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002005/0.3608, allocations: 122.7 kB / 0.5556 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3608, allocations: 4 kB / 0.5556 GB, free: 6.309 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3608, allocations: 3.938 kB / 0.5556 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3608, allocations: 0 / 0.5556 GB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000476/0.3613, allocations: 479.3 kB / 0.5561 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3613, allocations: 4.312 kB / 0.5561 GB, free: 5.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.3614, allocations: 24.17 kB / 0.5561 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.3615, allocations: 7.906 kB / 0.5561 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3615, allocations: 11.88 kB / 0.5561 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3615, allocations: 0 / 0.5561 GB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3615, allocations: 8.078 kB / 0.5561 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001906/0.3617, allocations: 302.8 kB / 0.5564 GB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.575e-05/0.3617, allocations: 96.92 kB / 0.5565 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3618, allocations: 0 / 0.5565 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.3619, allocations: 11.98 kB / 0.5565 GB, free: 5.281 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.3619, allocations: 7.984 kB / 0.5565 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.3619, allocations: 8 kB / 0.5565 GB, free: 5.266 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001122/0.3621, allocations: 160.2 kB / 0.5567 GB, free: 5.109 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002672/0.3623, allocations: 27.94 kB / 0.5567 GB, free: 5.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0005523/0.3629, allocations: 305.9 kB / 0.557 GB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001151/0.363, allocations: 63.92 kB / 0.5571 GB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.363, allocations: 0 / 0.5571 GB, free: 4.754 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.824e-05/0.3631, allocations: 36.17 kB / 0.5571 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002284/0.3633, allocations: 19.75 kB / 0.5571 GB, free: 4.699 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003749/0.3637, allocations: 217.2 kB / 0.5573 GB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.364, allocations: 0.7394 MB / 0.5581 GB, free: 3.691 MB / 394.7 MB Notification: Performance of SimCode: time 2.21e-07/0.364, allocations: 0 / 0.5581 GB, free: 3.691 MB / 394.7 MB Notification: Performance of Templates: time 0.003285/0.3673, allocations: 1.435 MB / 0.5595 GB, free: 2.266 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches