Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.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.Test18,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.Test18") translateModel(ModelicaTest.Tables.CombiTable1D.Test18,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.Test18") [: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.0008046/0.0008048, allocations: 192.1 kB / 7.805 MB, free: 2.438 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.068/1.068, 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.0007859/0.0007859, allocations: 90.53 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.1512/0.1512, allocations: 43.49 MB / 352.8 MB, free: 1.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.352e-06/6.381e-06, allocations: 4 kB / 417.7 MB, free: 40.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2323, allocations: 58.84 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3405, allocations: 86.09 MB / 0.5495 GB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.3408, allocations: 63.97 kB / 0.5495 GB, free: 12.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01538/0.3561, allocations: 6.085 MB / 0.5555 GB, free: 6.691 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.3562, allocations: 8 kB / 0.5555 GB, free: 6.684 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.00037/0.3566, allocations: 406.1 kB / 0.5559 GB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3566, allocations: 12.03 kB / 0.5559 GB, free: 6.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.3567, allocations: 7.906 kB / 0.5559 GB, free: 6.223 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.3569, allocations: 192.4 kB / 0.5561 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3569, allocations: 4 kB / 0.5561 GB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.3569, allocations: 4 kB / 0.5561 GB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.632e-05/0.357, allocations: 23.98 kB / 0.5561 GB, free: 5.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.3571, allocations: 76.19 kB / 0.5562 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.3571, allocations: 0 / 0.5562 GB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3571, allocations: 4 kB / 0.5562 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3572, allocations: 0 / 0.5562 GB, free: 5.871 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003855/0.3576, allocations: 365.5 kB / 0.5565 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.3578, allocations: 71.44 kB / 0.5566 GB, free: 5.391 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.3578, allocations: 25.72 kB / 0.5566 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3578, allocations: 0 / 0.5566 GB, free: 5.359 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.618e-05/0.3579, allocations: 34.56 kB / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.3579, allocations: 0 / 0.5566 GB, free: 5.316 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004792/0.3584, allocations: 177.1 kB / 0.5568 GB, free: 5.137 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/0.3584, allocations: 106.8 kB / 0.5569 GB, free: 5.008 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.982e-05/0.3585, allocations: 124.9 kB / 0.557 GB, free: 4.879 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3585, allocations: 25.7 kB / 0.5571 GB, free: 4.848 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.3586, allocations: 92.12 kB / 0.5571 GB, free: 4.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.726e-05/0.3586, allocations: 31.55 kB / 0.5572 GB, free: 4.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.468e-06/0.3586, allocations: 0 / 0.5572 GB, free: 4.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.656e-05/0.3587, allocations: 322.8 kB / 0.5575 GB, free: 4.398 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.3588, allocations: 23.98 kB / 0.5575 GB, free: 4.375 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.463e-05/0.3588, allocations: 46.52 kB / 0.5575 GB, free: 4.32 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.745e-05/0.3589, allocations: 28.11 kB / 0.5576 GB, free: 4.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3589, allocations: 3.984 kB / 0.5576 GB, free: 4.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001323/0.359, allocations: 93.53 kB / 0.5577 GB, free: 4.191 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.359, allocations: 8 kB / 0.5577 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.359, allocations: 0 / 0.5577 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.3591, allocations: 3.984 kB / 0.5577 GB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.209e-05/0.3591, allocations: 24.03 kB / 0.5577 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.3592, allocations: 3.984 kB / 0.5577 GB, free: 4.152 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.224e-05/0.3592, allocations: 4 kB / 0.5577 GB, free: 4.148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3592, allocations: 4 kB / 0.5577 GB, free: 4.145 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 6.164e-05/0.3593, allocations: 117.7 kB / 0.5578 GB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.983e-05/0.3594, allocations: 11.91 kB / 0.5578 GB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.3596, allocations: 117.7 kB / 0.5579 GB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3596, allocations: 4 kB / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3596, allocations: 0 / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3596, allocations: 0 / 0.558 GB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004287/0.36, allocations: 459 kB / 0.5584 GB, free: 3.395 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.36, allocations: 8.344 kB / 0.5584 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.529e-05/0.3601, allocations: 23.89 kB / 0.5584 GB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.3601, allocations: 4 kB / 0.5584 GB, free: 3.359 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.3602, allocations: 4 kB / 0.5584 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3602, allocations: 0 / 0.5584 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3602, allocations: 7.984 kB / 0.5584 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001838/0.3604, allocations: 298.9 kB / 0.5587 GB, free: 3.023 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.321e-05/0.3604, allocations: 93.33 kB / 0.5588 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.3604, allocations: 0 / 0.5588 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3606, allocations: 11.98 kB / 0.5588 GB, free: 2.902 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.3606, allocations: 15.92 kB / 0.5588 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-06/0.3606, allocations: 0 / 0.5588 GB, free: 2.887 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.031e-05/0.3607, allocations: 107.3 kB / 0.5589 GB, free: 2.781 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.361, allocations: 31.98 kB / 0.559 GB, free: 2.75 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.0006116/0.3616, allocations: 337.4 kB / 0.5593 GB, free: 2.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.3617, allocations: 59.92 kB / 0.5593 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3617, allocations: 0 / 0.5593 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.743e-05/0.3618, allocations: 35.94 kB / 0.5594 GB, free: 2.363 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.362, allocations: 23.84 kB / 0.5594 GB, free: 2.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003106/0.3624, allocations: 141.2 kB / 0.5595 GB, free: 2.172 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.3626, allocations: 0.7309 MB / 0.5603 GB, free: 1.414 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3627, allocations: 0 / 0.5603 GB, free: 1.414 MB / 394.7 MB Notification: Performance of Templates: time 0.003413/0.3661, allocations: 1.551 MB / 0.5618 GB, free: 15.87 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test18/Test18.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches