Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5") [: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.0009067/0.0009067, allocations: 185.2 kB / 7.805 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.081/1.081, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0008407/0.0008404, allocations: 95.67 kB / 261.4 MB, free: 13.55 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.1584/0.1584, allocations: 43.49 MB / 352.8 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.192e-06/6.212e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2145, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09813/0.3127, allocations: 86.44 MB / 0.5498 GB, free: 12.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001744/0.3129, allocations: 71.89 kB / 0.5499 GB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01496/0.3278, allocations: 7.342 MB / 0.557 GB, free: 5.098 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.915e-05/0.3279, allocations: 8 kB / 0.557 GB, free: 5.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004222/0.3283, allocations: 0.552 MB / 0.5576 GB, free: 4.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.892e-05/0.3283, allocations: 8.031 kB / 0.5576 GB, free: 4.484 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.3284, allocations: 47.44 kB / 0.5576 GB, free: 4.438 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.3288, allocations: 323.2 kB / 0.5579 GB, free: 4.078 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.3288, allocations: 4 kB / 0.558 GB, free: 4.074 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.3289, allocations: 4 kB / 0.558 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.839e-05/0.3289, allocations: 19.98 kB / 0.558 GB, free: 4.051 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.25e-05/0.329, allocations: 49.67 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.329, allocations: 3.906 kB / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-06/0.329, allocations: 0 / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.329, allocations: 0 / 0.558 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004917/0.3295, allocations: 425.2 kB / 0.5584 GB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.3297, allocations: 33.7 kB / 0.5585 GB, free: 3.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.449e-05/0.3297, allocations: 16.8 kB / 0.5585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.3297, allocations: 0 / 0.5585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.561e-05/0.3298, allocations: 34.56 kB / 0.5585 GB, free: 3.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.71e-07/0.3298, allocations: 0 / 0.5585 GB, free: 3.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003826/0.3302, allocations: 192.1 kB / 0.5587 GB, free: 3.242 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.253e-05/0.3302, allocations: 55.31 kB / 0.5587 GB, free: 3.176 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.3312, allocations: 0.7512 MB / 0.5595 GB, free: 2.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.152e-05/0.3312, allocations: 25.7 kB / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.3313, allocations: 144 kB / 0.5596 GB, free: 2.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.758e-05/0.3313, allocations: 11.81 kB / 0.5597 GB, free: 2.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.3313, allocations: 0 / 0.5597 GB, free: 2.23 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.3315, allocations: 362.7 kB / 0.56 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.3315, allocations: 12 kB / 0.56 GB, free: 1.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.92e-05/0.3315, allocations: 12 kB / 0.56 GB, free: 1.844 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.857e-05/0.3315, allocations: 15.98 kB / 0.56 GB, free: 1.828 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.3316, allocations: 0 / 0.56 GB, free: 1.828 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000132/0.3317, allocations: 101.2 kB / 0.5601 GB, free: 1.723 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.3317, allocations: 12 kB / 0.5601 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.3317, allocations: 3.906 kB / 0.5602 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.716e-06/0.3317, allocations: 3.938 kB / 0.5602 GB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/0.3318, allocations: 15.98 kB / 0.5602 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.436e-06/0.3318, allocations: 256 / 0.5602 GB, free: 1.688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.3319, allocations: 4 kB / 0.5602 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.3319, allocations: 12 kB / 0.5602 GB, free: 1.672 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 5.013e-05/0.332, allocations: 102.5 kB / 0.5603 GB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.332, allocations: 43.58 kB / 0.5603 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001841/0.3322, allocations: 129.1 kB / 0.5604 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3322, allocations: 0 / 0.5604 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.3322, allocations: 0 / 0.5604 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.3323, allocations: 0 / 0.5604 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005892/0.3328, allocations: 0.5457 MB / 0.561 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3329, allocations: 4 kB / 0.561 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.994e-05/0.3329, allocations: 12 kB / 0.561 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.3329, allocations: 4 kB / 0.561 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3329, allocations: 0 / 0.561 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.333, allocations: 3.984 kB / 0.561 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.333, allocations: 7.844 kB / 0.561 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001634/0.3331, allocations: 202.9 kB / 0.5612 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001579/0.3333, allocations: 156.6 kB / 0.5614 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.766e-05/0.3333, allocations: 3.906 kB / 0.5614 GB, free: 384 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.895e-05/0.3335, allocations: 4 kB / 0.5614 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.882e-05/0.3335, allocations: 7.984 kB / 0.5614 GB, free: 372 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.3335, allocations: 0 / 0.5614 GB, free: 372 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005625/0.3341, allocations: 0.6082 MB / 0.562 GB, free: 15.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.3343, allocations: 63.94 kB / 0.562 GB, free: 15.7 MB / 410.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.0005052/0.3348, allocations: 302.5 kB / 0.5623 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.758e-05/0.3349, allocations: 35.94 kB / 0.5623 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.335, allocations: 0 / 0.5623 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.335, allocations: 19.98 kB / 0.5624 GB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.3352, allocations: 25.83 kB / 0.5624 GB, free: 15.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.3363, allocations: 0.7036 MB / 0.5631 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004564/0.3367, allocations: 0.8606 MB / 0.5639 GB, free: 13.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.964e-06/0.3367, allocations: 0 / 0.5639 GB, free: 13.72 MB / 410.7 MB Notification: Performance of Templates: time 0.004895/0.3416, allocations: 2.211 MB / 0.5661 GB, free: 11.5 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches