Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20") [: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.001595/0.001594, allocations: 172.4 kB / 8.146 MB, free: 2.219 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.674/1.674, allocations: 205.2 MB / 213.8 MB, free: 13.94 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.001248/0.001248, allocations: 95.33 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.2575/0.2575, allocations: 43.51 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.086e-06/8.245e-06, allocations: 224 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2663, allocations: 58.84 MB / 476.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1787/0.4451, allocations: 88.15 MB / 0.5515 GB, free: 10.94 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.4454, allocations: 67.91 kB / 0.5515 GB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03651/0.4819, allocations: 8.156 MB / 0.5595 GB, free: 2.715 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.636e-05/0.482, allocations: 12 kB / 0.5595 GB, free: 2.703 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008611/0.4829, allocations: 0.5522 MB / 0.56 GB, free: 2.105 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.4829, allocations: 8.031 kB / 0.56 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.4831, allocations: 43.44 kB / 0.5601 GB, free: 2.055 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008229/0.4839, allocations: 353.1 kB / 0.5604 GB, free: 1.664 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4839, allocations: 4 kB / 0.5604 GB, free: 1.66 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.851e-05/0.484, allocations: 7.906 kB / 0.5604 GB, free: 1.652 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002726/0.4843, allocations: 71.97 kB / 0.5605 GB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.4846, allocations: 104.5 kB / 0.5606 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.753e-05/0.4846, allocations: 0 / 0.5606 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.4846, allocations: 4 kB / 0.5606 GB, free: 1.473 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.4846, allocations: 4 kB / 0.5606 GB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001236/0.4859, allocations: 0.4968 MB / 0.5611 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.4862, allocations: 93.69 kB / 0.5612 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.572e-05/0.4863, allocations: 41.94 kB / 0.5612 GB, free: 0.793 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.494e-05/0.4863, allocations: 3.984 kB / 0.5612 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.4864, allocations: 38.47 kB / 0.5613 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of pre-optimization done (n=11): time 2.865e-06/0.4864, allocations: 224 / 0.5613 GB, free: 0.7422 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001368/0.4878, allocations: 367.8 kB / 0.5616 GB, free: 388 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.4879, allocations: 51.41 kB / 0.5617 GB, free: 324 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.4889, allocations: 477.1 kB / 0.5621 GB, free: 15.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.489, allocations: 25.7 kB / 0.5621 GB, free: 15.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.4891, allocations: 166.8 kB / 0.5623 GB, free: 15.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.683e-05/0.4892, allocations: 59.11 kB / 0.5624 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.4892, allocations: 0 / 0.5624 GB, free: 15.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.4893, allocations: 318.8 kB / 0.5627 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/0.4895, allocations: 55.98 kB / 0.5627 GB, free: 15.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.4897, allocations: 51.98 kB / 0.5628 GB, free: 15.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.4899, allocations: 63.88 kB / 0.5628 GB, free: 15.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4899, allocations: 0 / 0.5628 GB, free: 15.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004571/0.4904, allocations: 169.5 kB / 0.563 GB, free: 14.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4904, allocations: 6.812 kB / 0.563 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4904, allocations: 4 kB / 0.563 GB, free: 14.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.4905, allocations: 7.922 kB / 0.563 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.4908, allocations: 35.92 kB / 0.563 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.4909, allocations: 4 kB / 0.563 GB, free: 14.87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.541e-05/0.4909, allocations: 8 kB / 0.5631 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.491, allocations: 7.984 kB / 0.5631 GB, free: 14.86 MB / 410.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 (17): * Single equations (assignments): 17 * 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.423e-05/0.4911, allocations: 34.95 kB / 0.5631 GB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.4913, allocations: 43.47 kB / 0.5631 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009812/0.4923, allocations: 261.2 kB / 0.5634 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.4923, allocations: 0 / 0.5634 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.4923, allocations: 3.906 kB / 0.5634 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.4924, allocations: 0 / 0.5634 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.4945, allocations: 0.6781 MB / 0.564 GB, free: 13.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.4946, allocations: 4 kB / 0.5641 GB, free: 13.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004291/0.4951, allocations: 35.98 kB / 0.5641 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/0.4951, allocations: 3.984 kB / 0.5641 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.542e-05/0.4951, allocations: 3.938 kB / 0.5641 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.907e-06/0.4952, allocations: 4 kB / 0.5641 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4952, allocations: 0 / 0.5641 GB, free: 13.73 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008717/0.4961, allocations: 306.3 kB / 0.5644 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.4965, allocations: 148.6 kB / 0.5645 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.4966, allocations: 0 / 0.5645 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003344/0.4969, allocations: 11.98 kB / 0.5645 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.525e-05/0.497, allocations: 15.89 kB / 0.5646 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4971, allocations: 4 kB / 0.5646 GB, free: 13.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001039/0.4981, allocations: 383.1 kB / 0.5649 GB, free: 12.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008336/0.499, allocations: 63.94 kB / 0.565 GB, free: 12.79 MB / 410.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 (17): * Single equations (assignments): 17 * 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.002157/0.5012, allocations: 0.4976 MB / 0.5655 GB, free: 12.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006209/0.5019, allocations: 139.8 kB / 0.5656 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.5019, allocations: 4 kB / 0.5656 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002852/0.5022, allocations: 83.91 kB / 0.5657 GB, free: 12.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/0.5034, allocations: 53.61 kB / 0.5657 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.5059, allocations: 0.5862 MB / 0.5663 GB, free: 11.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/0.5071, allocations: 0.8604 MB / 0.5672 GB, free: 10.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.773e-06/0.5072, allocations: 4 kB / 0.5672 GB, free: 10.56 MB / 410.7 MB Notification: Performance of Templates: time 0.01791/0.5251, allocations: 4.967 MB / 0.572 GB, free: 5.594 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches