Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.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.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001918/0.001918, allocations: 177.7 kB / 8.147 MB, free: 2.211 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.863/1.863, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.0013/0.0013, allocations: 94 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.2612/0.2612, allocations: 43.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.796e-06/9.027e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2878, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.4542, allocations: 86.02 MB / 0.5494 GB, free: 13.06 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.4546, allocations: 71.95 kB / 0.5494 GB, free: 12.99 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.02126/0.4759, allocations: 3.738 MB / 0.5531 GB, free: 9.246 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.4759, allocations: 0 / 0.5531 GB, free: 9.246 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.0005097/0.4764, allocations: 386.1 kB / 0.5535 GB, free: 8.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4765, allocations: 8.031 kB / 0.5535 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.58e-05/0.4765, allocations: 11.91 kB / 0.5535 GB, free: 8.805 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.4769, allocations: 199.4 kB / 0.5537 GB, free: 8.566 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4769, allocations: 7.172 kB / 0.5537 GB, free: 8.562 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.4769, allocations: 3.906 kB / 0.5537 GB, free: 8.559 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.8e-05/0.477, allocations: 16 kB / 0.5537 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.4771, allocations: 45.62 kB / 0.5537 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4772, allocations: 0 / 0.5537 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.4772, allocations: 0 / 0.5537 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.4772, allocations: 4 kB / 0.5537 GB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.4776, allocations: 269.4 kB / 0.554 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.007e-05/0.4777, allocations: 30.67 kB / 0.554 GB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.4778, allocations: 16.84 kB / 0.554 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4778, allocations: 4 kB / 0.554 GB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4779, allocations: 34.5 kB / 0.5541 GB, free: 8.082 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.4779, allocations: 0 / 0.5541 GB, free: 8.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006494/0.4785, allocations: 137.3 kB / 0.5542 GB, free: 7.941 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.4786, allocations: 55.41 kB / 0.5543 GB, free: 7.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.4788, allocations: 147.5 kB / 0.5544 GB, free: 7.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.4789, allocations: 25.7 kB / 0.5544 GB, free: 7.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/0.479, allocations: 170.5 kB / 0.5546 GB, free: 7.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.479, allocations: 19.64 kB / 0.5546 GB, free: 7.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.479, allocations: 0 / 0.5546 GB, free: 7.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4792, allocations: 318.8 kB / 0.5549 GB, free: 7.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.4792, allocations: 12 kB / 0.5549 GB, free: 7.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.002e-05/0.4793, allocations: 20 kB / 0.5549 GB, free: 7.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.388e-05/0.4793, allocations: 15.98 kB / 0.555 GB, free: 7.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4794, allocations: 4 kB / 0.555 GB, free: 7.129 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001692/0.4795, allocations: 61.59 kB / 0.555 GB, free: 7.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.4796, allocations: 12 kB / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4796, allocations: 0 / 0.555 GB, free: 7.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4796, allocations: 3.938 kB / 0.555 GB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.4798, allocations: 27.92 kB / 0.5551 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4798, allocations: 0 / 0.5551 GB, free: 7.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.4799, allocations: 15.98 kB / 0.5551 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.48, allocations: 4 kB / 0.5551 GB, free: 7 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.851e-05/0.48, allocations: 35.05 kB / 0.5551 GB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.05e-05/0.4801, allocations: 11.81 kB / 0.5551 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.4803, allocations: 78.17 kB / 0.5552 GB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4804, allocations: 4 kB / 0.5552 GB, free: 6.867 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.4804, allocations: 4 kB / 0.5552 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.4804, allocations: 0 / 0.5552 GB, free: 6.863 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.4809, allocations: 339.3 kB / 0.5555 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4809, allocations: 3.984 kB / 0.5555 GB, free: 6.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.4811, allocations: 19.98 kB / 0.5556 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.4811, allocations: 8 kB / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.4812, allocations: 144 / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4812, allocations: 0 / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4812, allocations: 0 / 0.5556 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002246/0.4814, allocations: 175.4 kB / 0.5557 GB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.63e-05/0.4815, allocations: 96.98 kB / 0.5558 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.743e-05/0.4815, allocations: 0 / 0.5558 GB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.4817, allocations: 23.98 kB / 0.5558 GB, free: 6.133 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.4818, allocations: 4 kB / 0.5559 GB, free: 6.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.4818, allocations: 0 / 0.5559 GB, free: 6.129 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001511/0.482, allocations: 132.5 kB / 0.556 GB, free: 6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003052/0.4823, allocations: 20 kB / 0.556 GB, free: 5.98 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.0008225/0.4831, allocations: 304.1 kB / 0.5563 GB, free: 5.711 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001552/0.4833, allocations: 36 kB / 0.5563 GB, free: 5.676 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.4833, allocations: 4 kB / 0.5563 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 6.895e-05/0.4834, allocations: 23.94 kB / 0.5563 GB, free: 5.648 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.4837, allocations: 19.89 kB / 0.5564 GB, free: 5.629 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004834/0.4842, allocations: 165 kB / 0.5565 GB, free: 5.441 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.4846, allocations: 0.7266 MB / 0.5572 GB, free: 4.691 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.4846, allocations: 3.938 kB / 0.5572 GB, free: 4.688 MB / 394.7 MB Notification: Performance of Templates: time 0.004531/0.4892, allocations: 1.662 MB / 0.5589 GB, free: 3.027 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches