Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001643/0.001642, allocations: 172.3 kB / 8.147 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.824/1.824, allocations: 205.2 MB / 213.8 MB, free: 13.91 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001354/0.001353, allocations: 91.55 kB / 261.8 MB, free: 13.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2704/0.2704, allocations: 43.5 MB / 353.2 MB, free: 2.008 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.146e-06/8.335e-06, allocations: 0 / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.4602, allocations: 85.77 MB / 0.5491 GB, free: 13.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002694/0.4606, allocations: 67.97 kB / 0.5492 GB, free: 13.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01803/0.4786, allocations: 3.598 MB / 0.5527 GB, free: 9.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.35e-05/0.4787, allocations: 0 / 0.5527 GB, free: 9.613 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.0007805/0.4795, allocations: 378.1 kB / 0.5531 GB, free: 9.199 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.695e-05/0.4796, allocations: 12.02 kB / 0.5531 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.4797, allocations: 7.906 kB / 0.5531 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.4802, allocations: 198.2 kB / 0.5533 GB, free: 8.949 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.4802, allocations: 8 kB / 0.5533 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.4803, allocations: 0 / 0.5533 GB, free: 8.941 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000173/0.4805, allocations: 20 kB / 0.5533 GB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002332/0.4807, allocations: 75.23 kB / 0.5534 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4807, allocations: 0 / 0.5534 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.4808, allocations: 0 / 0.5534 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4808, allocations: 0 / 0.5534 GB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/0.4818, allocations: 369.5 kB / 0.5537 GB, free: 8.434 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005827/0.4825, allocations: 59.42 kB / 0.5538 GB, free: 8.363 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.4826, allocations: 41.83 kB / 0.5538 GB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.4827, allocations: 3.938 kB / 0.5538 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.53e-05/0.4828, allocations: 30.56 kB / 0.5539 GB, free: 8.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 8.075e-06/0.4828, allocations: 0 / 0.5539 GB, free: 8.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.001217/0.484, allocations: 181.1 kB / 0.554 GB, free: 8.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/0.4842, allocations: 81.11 kB / 0.5541 GB, free: 7.992 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/0.4845, allocations: 137.1 kB / 0.5542 GB, free: 7.848 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4846, allocations: 25.7 kB / 0.5543 GB, free: 7.816 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.4847, allocations: 154.5 kB / 0.5544 GB, free: 7.664 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/0.4848, allocations: 31.47 kB / 0.5544 GB, free: 7.633 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.417e-05/0.4849, allocations: 4 kB / 0.5544 GB, free: 7.629 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002504/0.4852, allocations: 314.8 kB / 0.5548 GB, free: 7.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.4853, allocations: 20 kB / 0.5548 GB, free: 7.293 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001661/0.4855, allocations: 45.7 kB / 0.5548 GB, free: 7.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001697/0.4857, allocations: 23.98 kB / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4857, allocations: 0 / 0.5548 GB, free: 7.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005186/0.4863, allocations: 93.86 kB / 0.5549 GB, free: 7.121 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.4863, allocations: 4 kB / 0.5549 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.557e-05/0.4864, allocations: 3.906 kB / 0.5549 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.49e-05/0.4864, allocations: 0 / 0.5549 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000339/0.4868, allocations: 35.98 kB / 0.555 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.4868, allocations: 0 / 0.555 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.487, allocations: 8 kB / 0.555 GB, free: 7.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.487, allocations: 4 kB / 0.555 GB, free: 7.066 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 0.0001281/0.4872, allocations: 31.05 kB / 0.555 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.4874, allocations: 11.89 kB / 0.555 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005376/0.4879, allocations: 125.7 kB / 0.5551 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.488, allocations: 0 / 0.5551 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.488, allocations: 0 / 0.5551 GB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/0.488, allocations: 4 kB / 0.5551 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001386/0.4894, allocations: 455.3 kB / 0.5556 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4895, allocations: 0 / 0.5556 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003338/0.4898, allocations: 32.02 kB / 0.5556 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.4899, allocations: 48 / 0.5556 GB, free: 6.367 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.742e-05/0.4899, allocations: 3.984 kB / 0.5556 GB, free: 6.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.242e-05/0.49, allocations: 4 kB / 0.5556 GB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.49, allocations: 3.938 kB / 0.5556 GB, free: 6.355 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006033/0.4906, allocations: 303 kB / 0.5559 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001643/0.4908, allocations: 92.91 kB / 0.556 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.304e-05/0.4908, allocations: 4 kB / 0.556 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.4912, allocations: 7.984 kB / 0.556 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.802e-05/0.4913, allocations: 4 kB / 0.556 GB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.4914, allocations: 8.188 kB / 0.556 GB, free: 5.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002126/0.4916, allocations: 114.1 kB / 0.5561 GB, free: 5.785 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006923/0.4923, allocations: 27.98 kB / 0.5562 GB, free: 5.758 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.001376/0.4937, allocations: 311.2 kB / 0.5565 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.4941, allocations: 59.92 kB / 0.5565 GB, free: 5.426 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.4941, allocations: 4 kB / 0.5565 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.4943, allocations: 32 kB / 0.5565 GB, free: 5.391 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006025/0.4949, allocations: 23.83 kB / 0.5566 GB, free: 5.367 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009293/0.4959, allocations: 182.7 kB / 0.5567 GB, free: 5.152 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/0.4966, allocations: 0.7347 MB / 0.5575 GB, free: 4.391 MB / 394.7 MB Notification: Performance of SimCode: time 1.843e-06/0.4966, allocations: 0 / 0.5575 GB, free: 4.391 MB / 394.7 MB Notification: Performance of Templates: time 0.007723/0.5044, allocations: 1.677 MB / 0.5591 GB, free: 2.715 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches