Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") [: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 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 174.8 kB / 8.518 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 221.4 MB / 230.3 MB, free: 7.715 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000923/0.000923, allocations: 88.72 kB / 281.2 MB, free: 5.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2017/0.2017, allocations: 44.15 MB / 376.1 MB, free: 3.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.482e-06, allocations: 4.219 kB / 444 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1127, allocations: 61.91 MB / 0.4941 GB, free: 1.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3532/0.466, allocations: 87.48 MB / 0.5795 GB, free: 9.32 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.4663, allocations: 70.34 kB / 0.5796 GB, free: 9.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01662/0.4829, allocations: 5.92 MB / 0.5854 GB, free: 3.426 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.483, allocations: 0 / 0.5854 GB, free: 3.426 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.0005562/0.4835, allocations: 398.2 kB / 0.5857 GB, free: 2.992 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/0.4836, allocations: 13.47 kB / 0.5858 GB, free: 2.98 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.168e-05/0.4837, allocations: 11.91 kB / 0.5858 GB, free: 2.969 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.4839, allocations: 194.9 kB / 0.586 GB, free: 2.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.4839, allocations: 3.984 kB / 0.586 GB, free: 2.734 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.484, allocations: 4 kB / 0.586 GB, free: 2.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.666e-05/0.484, allocations: 7.938 kB / 0.586 GB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.4842, allocations: 63.31 kB / 0.586 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.4842, allocations: 0 / 0.586 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.4842, allocations: 0 / 0.586 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.4842, allocations: 0 / 0.586 GB, free: 2.648 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.4846, allocations: 253.4 kB / 0.5863 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4848, allocations: 29.66 kB / 0.5863 GB, free: 2.328 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.4848, allocations: 12.86 kB / 0.5863 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.4848, allocations: 0 / 0.5863 GB, free: 2.312 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.4849, allocations: 34.56 kB / 0.5863 GB, free: 2.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 7.81e-07/0.4849, allocations: 4 kB / 0.5863 GB, free: 2.266 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003992/0.4853, allocations: 93.56 kB / 0.5864 GB, free: 2.168 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.4853, allocations: 81.02 kB / 0.5865 GB, free: 2.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.4855, allocations: 119.2 kB / 0.5866 GB, free: 1.949 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.4855, allocations: 33.58 kB / 0.5867 GB, free: 1.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/0.4855, allocations: 84.14 kB / 0.5867 GB, free: 1.824 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.4856, allocations: 23.73 kB / 0.5868 GB, free: 1.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.777e-06/0.4856, allocations: 0 / 0.5868 GB, free: 1.801 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.4857, allocations: 314.8 kB / 0.5871 GB, free: 1.484 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.306e-05/0.4857, allocations: 12 kB / 0.5871 GB, free: 1.473 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.79e-05/0.4858, allocations: 17.72 kB / 0.5871 GB, free: 1.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.4858, allocations: 15.98 kB / 0.5871 GB, free: 1.434 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-07/0.4858, allocations: 0 / 0.5871 GB, free: 1.434 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.231e-05/0.4859, allocations: 57.8 kB / 0.5872 GB, free: 1.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.4859, allocations: 16.02 kB / 0.5872 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4859, allocations: 0 / 0.5872 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.486, allocations: 3.906 kB / 0.5872 GB, free: 1.352 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.486, allocations: 12 kB / 0.5872 GB, free: 1.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.486, allocations: 3.938 kB / 0.5872 GB, free: 1.336 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.4861, allocations: 7.984 kB / 0.5872 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.4861, allocations: 4 kB / 0.5872 GB, free: 1.324 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 7.343e-05/0.4862, allocations: 108.9 kB / 0.5873 GB, free: 1.211 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.4862, allocations: 7.906 kB / 0.5873 GB, free: 1.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001494/0.4864, allocations: 73.72 kB / 0.5874 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.4864, allocations: 0 / 0.5874 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4864, allocations: 0 / 0.5874 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.4864, allocations: 0 / 0.5874 GB, free: 1.121 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.4867, allocations: 303 kB / 0.5877 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4868, allocations: 4 kB / 0.5877 GB, free: 0.7773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.4868, allocations: 12 kB / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4868, allocations: 0 / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.866e-06/0.4869, allocations: 0 / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4869, allocations: 0 / 0.5877 GB, free: 0.7656 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.4869, allocations: 3.906 kB / 0.5877 GB, free: 0.7617 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001333/0.487, allocations: 159.5 kB / 0.5879 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.4871, allocations: 89 kB / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.4871, allocations: 256 / 0.5879 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.4872, allocations: 8 kB / 0.5879 GB, free: 488 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/0.4872, allocations: 11.92 kB / 0.588 GB, free: 476 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.4872, allocations: 3.938 kB / 0.588 GB, free: 472 kB / 394.7 MB Notification: Performance of sort global known variables: time 6.987e-05/0.4873, allocations: 108.9 kB / 0.5881 GB, free: 364 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.4876, allocations: 23.98 kB / 0.5881 GB, free: 340 kB / 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.0007164/0.4883, allocations: 329.3 kB / 0.5884 GB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001054/0.4884, allocations: 28 kB / 0.5884 GB, free: 52 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.4884, allocations: 4 kB / 0.5884 GB, free: 48 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.958e-05/0.4885, allocations: 15.94 kB / 0.5884 GB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002266/0.4887, allocations: 26.06 kB / 0.5885 GB, free: 8 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.489, allocations: 88.06 kB / 0.5886 GB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002977/0.4894, allocations: 0.7075 MB / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4894, allocations: 0 / 0.5892 GB, free: 15.16 MB / 410.7 MB Notification: Performance of Templates: time 0.003588/0.493, allocations: 1.329 MB / 0.5905 GB, free: 13.84 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches