Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.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.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_cpp_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_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0017/0.0017, allocations: 172.8 kB / 8.146 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.699/1.699, 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.001305/0.001305, allocations: 95.66 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.2655/0.2655, allocations: 43.5 MB / 353.2 MB, free: 2.027 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.085e-06/8.186e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2917, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1567/0.4485, allocations: 86.08 MB / 0.5494 GB, free: 12.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.4488, allocations: 67.97 kB / 0.5495 GB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02717/0.476, allocations: 6.097 MB / 0.5555 GB, free: 6.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.4761, allocations: 0 / 0.5555 GB, free: 6.824 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.0006058/0.4767, allocations: 410.1 kB / 0.5558 GB, free: 6.379 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.4768, allocations: 12.03 kB / 0.5559 GB, free: 6.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.4768, allocations: 7.906 kB / 0.5559 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.4772, allocations: 190.9 kB / 0.556 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.4772, allocations: 4 kB / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.4772, allocations: 0 / 0.556 GB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001156/0.4774, allocations: 27.98 kB / 0.5561 GB, free: 6.102 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.4775, allocations: 76.19 kB / 0.5561 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.4776, allocations: 0 / 0.5561 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.4776, allocations: 7.938 kB / 0.5562 GB, free: 6.004 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4776, allocations: 4 kB / 0.5562 GB, free: 6 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006024/0.4782, allocations: 357.5 kB / 0.5565 GB, free: 5.609 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000303/0.4785, allocations: 71.44 kB / 0.5566 GB, free: 5.527 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.4786, allocations: 21.72 kB / 0.5566 GB, free: 5.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.4787, allocations: 4 kB / 0.5566 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.4787, allocations: 34.56 kB / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/0.4787, allocations: 0 / 0.5566 GB, free: 5.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007556/0.4795, allocations: 177.1 kB / 0.5568 GB, free: 5.273 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.4796, allocations: 118.7 kB / 0.5569 GB, free: 5.133 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.4797, allocations: 122.4 kB / 0.557 GB, free: 5.008 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.4798, allocations: 25.7 kB / 0.557 GB, free: 4.977 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.28e-05/0.4799, allocations: 150.6 kB / 0.5572 GB, free: 4.828 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.4799, allocations: 31.55 kB / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-06/0.4799, allocations: 0 / 0.5572 GB, free: 4.797 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4801, allocations: 326.8 kB / 0.5575 GB, free: 4.469 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.968e-05/0.4802, allocations: 16 kB / 0.5575 GB, free: 4.453 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.078e-05/0.4803, allocations: 46.56 kB / 0.5576 GB, free: 4.398 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.649e-05/0.4804, allocations: 23.98 kB / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4804, allocations: 0 / 0.5576 GB, free: 4.375 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002393/0.4806, allocations: 93.61 kB / 0.5577 GB, free: 4.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4806, allocations: 4 kB / 0.5577 GB, free: 4.273 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4807, allocations: 4.031 kB / 0.5577 GB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.4807, allocations: 4 kB / 0.5577 GB, free: 4.266 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.4809, allocations: 23.89 kB / 0.5577 GB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4809, allocations: 4 kB / 0.5577 GB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.836e-05/0.481, allocations: 8.234 kB / 0.5578 GB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.839e-05/0.481, allocations: 4 kB / 0.5578 GB, free: 4.227 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.305e-05/0.4811, allocations: 35.05 kB / 0.5578 GB, free: 4.188 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.828e-05/0.4812, allocations: 11.91 kB / 0.5578 GB, free: 4.176 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003569/0.4816, allocations: 117.7 kB / 0.5579 GB, free: 4.055 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.4816, allocations: 3.906 kB / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.4816, allocations: 0 / 0.5579 GB, free: 4.051 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4816, allocations: 7.938 kB / 0.5579 GB, free: 4.043 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.4824, allocations: 463 kB / 0.5584 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4824, allocations: 336 / 0.5584 GB, free: 3.543 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.4826, allocations: 20 kB / 0.5584 GB, free: 3.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.381e-06/0.4826, allocations: 4.172 kB / 0.5584 GB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4826, allocations: 4 kB / 0.5584 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4826, allocations: 3.938 kB / 0.5584 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4826, allocations: 0 / 0.5584 GB, free: 3.512 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003286/0.483, allocations: 306.9 kB / 0.5587 GB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.842e-05/0.4831, allocations: 93 kB / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.779e-05/0.4831, allocations: 0 / 0.5588 GB, free: 3.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.4833, allocations: 8 kB / 0.5588 GB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.651e-05/0.4834, allocations: 11.92 kB / 0.5588 GB, free: 3.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.4834, allocations: 7.906 kB / 0.5588 GB, free: 3.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00011/0.4835, allocations: 108.2 kB / 0.5589 GB, free: 2.938 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003927/0.4839, allocations: 31.94 kB / 0.5589 GB, free: 2.906 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.000933/0.4848, allocations: 340.5 kB / 0.5593 GB, free: 2.602 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4851, allocations: 59.92 kB / 0.5593 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4851, allocations: 0 / 0.5593 GB, free: 2.543 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.4852, allocations: 39.92 kB / 0.5594 GB, free: 2.504 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.4856, allocations: 19.97 kB / 0.5594 GB, free: 2.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005324/0.4862, allocations: 170.9 kB / 0.5595 GB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.4866, allocations: 0.727 MB / 0.5602 GB, free: 1.527 MB / 394.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4867, allocations: 0 / 0.5602 GB, free: 1.527 MB / 394.7 MB Notification: Performance of Templates: time 0.005267/0.4919, allocations: 1.87 MB / 0.5621 GB, free: 15.65 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.Tables.CombiTable1D.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches