Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.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.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11") [: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.001699/0.001699, allocations: 172 kB / 8.148 MB, free: 2.195 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.741/1.741, allocations: 205.2 MB / 213.8 MB, free: 13.92 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.001202/0.001202, allocations: 96.88 kB / 261.8 MB, free: 13.62 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.3139/0.3139, allocations: 43.5 MB / 353.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.616e-06/8.747e-06, allocations: 0 / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2926, allocations: 58.85 MB / 476.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.4553, allocations: 86.7 MB / 0.55 GB, free: 12.36 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.4556, allocations: 75.41 kB / 0.5501 GB, free: 12.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02662/0.4823, allocations: 6.07 MB / 0.556 GB, free: 6.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.4823, allocations: 0 / 0.556 GB, free: 6.219 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.0006612/0.483, allocations: 410.2 kB / 0.5564 GB, free: 5.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.483, allocations: 12.03 kB / 0.5564 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.4831, allocations: 11.81 kB / 0.5565 GB, free: 5.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.4834, allocations: 202.9 kB / 0.5566 GB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.4835, allocations: 3.938 kB / 0.5566 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.4835, allocations: 0 / 0.5566 GB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000113/0.4836, allocations: 16 kB / 0.5567 GB, free: 5.492 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.4838, allocations: 63.41 kB / 0.5567 GB, free: 5.418 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.4838, allocations: 3.984 kB / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.4838, allocations: 0 / 0.5567 GB, free: 5.414 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.4839, allocations: 4 kB / 0.5567 GB, free: 5.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.4845, allocations: 285.3 kB / 0.557 GB, free: 5.094 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.4846, allocations: 46.47 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.4846, allocations: 12.86 kB / 0.5571 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.4847, allocations: 0 / 0.5571 GB, free: 5.023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.4847, allocations: 38.56 kB / 0.5571 GB, free: 4.977 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.4847, allocations: 0 / 0.5571 GB, free: 4.977 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007366/0.4855, allocations: 153.4 kB / 0.5572 GB, free: 4.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/0.4856, allocations: 81.11 kB / 0.5573 GB, free: 4.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.4857, allocations: 125.2 kB / 0.5574 GB, free: 4.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.348e-05/0.4858, allocations: 29.64 kB / 0.5575 GB, free: 4.555 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.571e-05/0.4859, allocations: 158.4 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.4859, allocations: 23.7 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.223e-06/0.4859, allocations: 4 kB / 0.5576 GB, free: 4.371 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4861, allocations: 310.8 kB / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.609e-05/0.4862, allocations: 20 kB / 0.558 GB, free: 4.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.233e-05/0.4862, allocations: 37.77 kB / 0.558 GB, free: 3.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.652e-05/0.4863, allocations: 23.98 kB / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.4864, allocations: 0 / 0.558 GB, free: 3.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002089/0.4866, allocations: 77.69 kB / 0.5581 GB, free: 3.891 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.4866, allocations: 7.938 kB / 0.5581 GB, free: 3.883 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4866, allocations: 11.95 kB / 0.5581 GB, free: 3.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4866, allocations: 7.906 kB / 0.5581 GB, free: 3.863 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002146/0.4869, allocations: 19.98 kB / 0.5581 GB, free: 3.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.4869, allocations: 4 kB / 0.5581 GB, free: 3.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.487, allocations: 15.98 kB / 0.5582 GB, free: 3.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.487, allocations: 4 kB / 0.5582 GB, free: 3.82 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 (7): * Single equations (assignments): 7 * 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.754e-05/0.4871, allocations: 27.11 kB / 0.5582 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.4872, allocations: 7.906 kB / 0.5582 GB, free: 3.781 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002971/0.4875, allocations: 106.1 kB / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.4875, allocations: 0 / 0.5583 GB, free: 3.668 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.4875, allocations: 3.906 kB / 0.5583 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.4875, allocations: 4 kB / 0.5583 GB, free: 3.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005514/0.4881, allocations: 343.4 kB / 0.5586 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.4881, allocations: 0 / 0.5586 GB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001841/0.4883, allocations: 27.98 kB / 0.5587 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.4883, allocations: 3.906 kB / 0.5587 GB, free: 3.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.4883, allocations: 4 kB / 0.5587 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.4884, allocations: 4 kB / 0.5587 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4884, allocations: 0 / 0.5587 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002677/0.4886, allocations: 191.4 kB / 0.5589 GB, free: 3.039 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.687e-05/0.4887, allocations: 89 kB / 0.5589 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.4888, allocations: 0 / 0.5589 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.489, allocations: 15.98 kB / 0.559 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.6e-05/0.489, allocations: 11.89 kB / 0.559 GB, free: 2.906 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.4891, allocations: 11.94 kB / 0.559 GB, free: 2.895 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001127/0.4892, allocations: 105.9 kB / 0.5591 GB, free: 2.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003329/0.4895, allocations: 24 kB / 0.5591 GB, free: 2.77 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 (7): * Single equations (assignments): 7 * 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.000963/0.4905, allocations: 347.6 kB / 0.5594 GB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.4907, allocations: 51.98 kB / 0.5595 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4907, allocations: 0 / 0.5595 GB, free: 2.414 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.162e-05/0.4908, allocations: 28 kB / 0.5595 GB, free: 2.387 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.4911, allocations: 11.98 kB / 0.5595 GB, free: 2.375 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005069/0.4917, allocations: 169.1 kB / 0.5597 GB, free: 2.18 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.4921, allocations: 0.7192 MB / 0.5604 GB, free: 1.434 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.4921, allocations: 0 / 0.5604 GB, free: 1.434 MB / 394.7 MB Notification: Performance of Templates: time 0.005317/0.4974, allocations: 1.878 MB / 0.5622 GB, free: 15.55 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches