Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22") [: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.001647/0.001647, allocations: 170.3 kB / 8.147 MB, free: 2.223 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.663/1.663, 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.003194/0.003194, allocations: 93.97 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.49 MB / 353.2 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.996e-06/9.137e-06, allocations: 0 / 417.7 MB, free: 40.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2971, allocations: 58.84 MB / 476.5 MB, free: 5.082 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.4577, allocations: 87.22 MB / 0.5506 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.458, allocations: 71.97 kB / 0.5506 GB, free: 11.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.03569/0.4937, allocations: 7.975 MB / 0.5584 GB, free: 3.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.144e-05/0.4938, allocations: 12 kB / 0.5584 GB, free: 3.77 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001083/0.4949, allocations: 0.6141 MB / 0.559 GB, free: 3.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.495, allocations: 12.03 kB / 0.559 GB, free: 3.098 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/0.4952, allocations: 51.34 kB / 0.5591 GB, free: 3.047 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.4963, allocations: 467 kB / 0.5595 GB, free: 2.547 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4964, allocations: 4 kB / 0.5595 GB, free: 2.543 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.4964, allocations: 4 kB / 0.5595 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002221/0.4966, allocations: 55.89 kB / 0.5596 GB, free: 2.484 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002754/0.4969, allocations: 109.2 kB / 0.5597 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.497, allocations: 0 / 0.5597 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.497, allocations: 0 / 0.5597 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.497, allocations: 8 kB / 0.5597 GB, free: 2.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.4986, allocations: 0.6688 MB / 0.5603 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002311/0.4989, allocations: 79.47 kB / 0.5604 GB, free: 1.559 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.189e-05/0.499, allocations: 33.84 kB / 0.5605 GB, free: 1.52 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.499, allocations: 3.984 kB / 0.5605 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4991, allocations: 34.78 kB / 0.5605 GB, free: 1.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 4.518e-06/0.4991, allocations: 0 / 0.5605 GB, free: 1.473 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001713/0.5008, allocations: 426.1 kB / 0.5609 GB, free: 1.047 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.5009, allocations: 81.11 kB / 0.561 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/0.5026, allocations: 0.7442 MB / 0.5617 GB, free: 204 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.5026, allocations: 25.7 kB / 0.5617 GB, free: 172 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5028, allocations: 166.8 kB / 0.5619 GB, free: 0 / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.5029, allocations: 47.44 kB / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.403e-05/0.5029, allocations: 0 / 0.5619 GB, free: 15.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5031, allocations: 314.8 kB / 0.5622 GB, free: 15.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.5032, allocations: 43.92 kB / 0.5623 GB, free: 15.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.5034, allocations: 49.72 kB / 0.5623 GB, free: 15.54 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.5036, allocations: 44.06 kB / 0.5624 GB, free: 15.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5036, allocations: 3.906 kB / 0.5624 GB, free: 15.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004727/0.5041, allocations: 129.6 kB / 0.5625 GB, free: 15.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.5041, allocations: 4 kB / 0.5625 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.5041, allocations: 7.938 kB / 0.5625 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5041, allocations: 0 / 0.5625 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.5046, allocations: 47.91 kB / 0.5625 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.5046, allocations: 3.906 kB / 0.5626 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001729/0.5048, allocations: 15.98 kB / 0.5626 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.809e-05/0.5048, allocations: 8 kB / 0.5626 GB, free: 15.27 MB / 410.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 (16): * Single equations (assignments): 16 * 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.969e-05/0.5049, allocations: 31.11 kB / 0.5626 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002659/0.5052, allocations: 55.33 kB / 0.5627 GB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008212/0.506, allocations: 226 kB / 0.5629 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.506, allocations: 0 / 0.5629 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5061, allocations: 4 kB / 0.5629 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5061, allocations: 384 / 0.5629 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.5078, allocations: 0.7635 MB / 0.5636 GB, free: 14.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.5078, allocations: 8 kB / 0.5636 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/0.5082, allocations: 47.91 kB / 0.5637 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.5082, allocations: 0 / 0.5637 GB, free: 14.08 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.384e-05/0.5083, allocations: 4 kB / 0.5637 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.285e-06/0.5083, allocations: 3.906 kB / 0.5637 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5083, allocations: 0 / 0.5637 GB, free: 14.07 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006296/0.5089, allocations: 369.2 kB / 0.564 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003319/0.5093, allocations: 176.3 kB / 0.5642 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.5094, allocations: 3.984 kB / 0.5642 GB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.5098, allocations: 15.94 kB / 0.5642 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.5099, allocations: 19.88 kB / 0.5642 GB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.5099, allocations: 8 kB / 0.5643 GB, free: 13.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.001226/0.5112, allocations: 0.5809 MB / 0.5648 GB, free: 12.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000595/0.5118, allocations: 67.98 kB / 0.5649 GB, free: 12.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.0009295/0.5127, allocations: 310.4 kB / 0.5652 GB, free: 12.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004066/0.5131, allocations: 99.92 kB / 0.5653 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.5132, allocations: 4 kB / 0.5653 GB, free: 12.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001782/0.5133, allocations: 59.94 kB / 0.5653 GB, free: 12.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000825/0.5142, allocations: 64.83 kB / 0.5654 GB, free: 12.32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002287/0.5165, allocations: 0.7301 MB / 0.5661 GB, free: 11.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009334/0.5175, allocations: 0.9113 MB / 0.567 GB, free: 10.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5175, allocations: 0 / 0.567 GB, free: 10.6 MB / 410.7 MB Notification: Performance of Templates: time 0.01384/0.5313, allocations: 5.652 MB / 0.5725 GB, free: 4.945 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches