Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,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.Test7") [: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.0008623/0.0008627, allocations: 178.4 kB / 7.799 MB, free: 2.141 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.039/1.039, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.0008513/0.0008513, allocations: 93.69 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.1527/0.1527, allocations: 43.49 MB / 352.9 MB, free: 1.961 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.252e-06/6.282e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.225, allocations: 58.84 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1033/0.3283, allocations: 85.63 MB / 0.549 GB, free: 13.31 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001603/0.3285, allocations: 63.97 kB / 0.5491 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.008102/0.3367, allocations: 3.231 MB / 0.5522 GB, free: 10.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.3367, allocations: 4 kB / 0.5522 GB, free: 10.02 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.0002601/0.3369, allocations: 378.1 kB / 0.5526 GB, free: 9.602 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.385e-05/0.337, allocations: 8.031 kB / 0.5526 GB, free: 9.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.516e-05/0.337, allocations: 11.81 kB / 0.5526 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3372, allocations: 190.9 kB / 0.5528 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-06/0.3372, allocations: 0 / 0.5528 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.3372, allocations: 0 / 0.5528 GB, free: 9.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.57e-05/0.3372, allocations: 15.98 kB / 0.5528 GB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.97e-05/0.3373, allocations: 37.7 kB / 0.5528 GB, free: 9.297 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.3373, allocations: 7.938 kB / 0.5529 GB, free: 9.289 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.742e-06/0.3373, allocations: 3.984 kB / 0.5529 GB, free: 9.285 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3373, allocations: 7.984 kB / 0.5529 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.3376, allocations: 257.4 kB / 0.5531 GB, free: 8.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3377, allocations: 29.72 kB / 0.5531 GB, free: 8.953 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.3377, allocations: 12.94 kB / 0.5532 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.3378, allocations: 7.906 kB / 0.5532 GB, free: 8.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3378, allocations: 30.56 kB / 0.5532 GB, free: 8.891 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.3378, allocations: 0 / 0.5532 GB, free: 8.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002859/0.3381, allocations: 117.2 kB / 0.5533 GB, free: 8.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.961e-05/0.3381, allocations: 51.41 kB / 0.5534 GB, free: 8.707 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3382, allocations: 137.2 kB / 0.5535 GB, free: 8.562 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.3382, allocations: 25.7 kB / 0.5535 GB, free: 8.531 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.898e-05/0.3383, allocations: 88.12 kB / 0.5536 GB, free: 8.441 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.3383, allocations: 15.75 kB / 0.5536 GB, free: 8.426 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.3383, allocations: 0 / 0.5536 GB, free: 8.426 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.3384, allocations: 330.7 kB / 0.5539 GB, free: 8.094 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.016e-05/0.3384, allocations: 8 kB / 0.5539 GB, free: 8.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.174e-05/0.3385, allocations: 12 kB / 0.5539 GB, free: 8.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.592e-05/0.3385, allocations: 15.98 kB / 0.554 GB, free: 8.059 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-07/0.3385, allocations: 4 kB / 0.554 GB, free: 8.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.92e-05/0.3386, allocations: 65.53 kB / 0.554 GB, free: 7.984 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.3386, allocations: 8 kB / 0.554 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.3386, allocations: 0 / 0.554 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.061e-06/0.3386, allocations: 0 / 0.554 GB, free: 7.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.053e-05/0.3387, allocations: 15.98 kB / 0.554 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-06/0.3387, allocations: 0 / 0.554 GB, free: 7.961 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.183e-05/0.3388, allocations: 8.25 kB / 0.5541 GB, free: 7.953 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.3388, allocations: 11.94 kB / 0.5541 GB, free: 7.941 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.487e-05/0.3388, allocations: 101 kB / 0.5542 GB, free: 7.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.3389, allocations: 15.81 kB / 0.5542 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001264/0.339, allocations: 77.8 kB / 0.5542 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.339, allocations: 0 / 0.5542 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-06/0.339, allocations: 0 / 0.5542 GB, free: 7.734 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.339, allocations: 7.984 kB / 0.5543 GB, free: 7.727 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002696/0.3393, allocations: 315 kB / 0.5546 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.3393, allocations: 0 / 0.5546 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.3394, allocations: 15.98 kB / 0.5546 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3394, allocations: 4 kB / 0.5546 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-06/0.3394, allocations: 0 / 0.5546 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3394, allocations: 0 / 0.5546 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3394, allocations: 3.938 kB / 0.5546 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001094/0.3395, allocations: 163.6 kB / 0.5547 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.3396, allocations: 92.91 kB / 0.5548 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.3396, allocations: 0 / 0.5548 GB, free: 7.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.353e-05/0.3397, allocations: 4 kB / 0.5548 GB, free: 7.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.3397, allocations: 7.984 kB / 0.5548 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3397, allocations: 0 / 0.5548 GB, free: 7.051 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.038e-05/0.3398, allocations: 122.5 kB / 0.555 GB, free: 6.934 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002101/0.34, allocations: 20 kB / 0.555 GB, free: 6.914 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.0004906/0.3405, allocations: 308.8 kB / 0.5553 GB, free: 6.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.037e-05/0.3406, allocations: 35.94 kB / 0.5553 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.72e-07/0.3406, allocations: 0 / 0.5553 GB, free: 6.609 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.819e-05/0.3406, allocations: 19.98 kB / 0.5553 GB, free: 6.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.3408, allocations: 15.86 kB / 0.5553 GB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.341, allocations: 123.5 kB / 0.5555 GB, free: 6.43 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002314/0.3412, allocations: 0.7153 MB / 0.5562 GB, free: 5.688 MB / 394.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3413, allocations: 0 / 0.5562 GB, free: 5.688 MB / 394.7 MB Notification: Performance of Templates: time 0.002444/0.3437, allocations: 1.116 MB / 0.5572 GB, free: 4.582 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches