Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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_ModelicaTest.Tables.CombiTable2D.Test23") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008601/0.0008602, allocations: 186.3 kB / 7.805 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.059/1.059, allocations: 205.2 MB / 213.4 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008601/0.0008599, allocations: 94.83 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1545/0.1545, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.018e-06/4.028e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2329, allocations: 58.83 MB / 476.6 MB, free: 5.32 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1051/0.3381, allocations: 87.16 MB / 0.5505 GB, free: 11.87 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001594/0.3382, allocations: 75.91 kB / 0.5506 GB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01988/0.3581, allocations: 8.39 MB / 0.5588 GB, free: 3.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.581e-05/0.3582, allocations: 8 kB / 0.5588 GB, free: 3.367 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.0006023/0.3588, allocations: 0.6465 MB / 0.5594 GB, free: 2.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.412e-05/0.3588, allocations: 8.031 kB / 0.5594 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.3589, allocations: 55.25 kB / 0.5595 GB, free: 2.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/0.3595, allocations: 475 kB / 0.5599 GB, free: 2.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.186e-06/0.3596, allocations: 4 kB / 0.5599 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.3596, allocations: 8 kB / 0.5599 GB, free: 2.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000121/0.3597, allocations: 67.83 kB / 0.56 GB, free: 2.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.3599, allocations: 115.2 kB / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.3599, allocations: 0 / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.3599, allocations: 0 / 0.5601 GB, free: 1.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.975e-06/0.3599, allocations: 4 kB / 0.5601 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008818/0.3608, allocations: 0.7001 MB / 0.5608 GB, free: 1.156 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.361, allocations: 97.2 kB / 0.5609 GB, free: 1.043 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.723e-05/0.361, allocations: 41.84 kB / 0.5609 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.361, allocations: 3.984 kB / 0.5609 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.3611, allocations: 38.78 kB / 0.561 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 2.956e-06/0.3611, allocations: 4 kB / 0.561 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.001202/0.3623, allocations: 0.5251 MB / 0.5615 GB, free: 416 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.3623, allocations: 81.11 kB / 0.5616 GB, free: 316 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008197/0.3632, allocations: 0.7523 MB / 0.5623 GB, free: 15.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.3632, allocations: 25.7 kB / 0.5623 GB, free: 15.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.3633, allocations: 160.2 kB / 0.5625 GB, free: 15.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.3633, allocations: 59.11 kB / 0.5625 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.3633, allocations: 0 / 0.5625 GB, free: 15.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3635, allocations: 370.7 kB / 0.5629 GB, free: 14.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.857e-05/0.3636, allocations: 55.98 kB / 0.5629 GB, free: 14.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-05/0.3637, allocations: 69.7 kB / 0.563 GB, free: 14.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.3638, allocations: 59.92 kB / 0.5631 GB, free: 14.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3638, allocations: 4.188 kB / 0.5631 GB, free: 14.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003208/0.3642, allocations: 224.9 kB / 0.5633 GB, free: 14.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-06/0.3642, allocations: 4 kB / 0.5633 GB, free: 14.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3642, allocations: 4 kB / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.3642, allocations: 0 / 0.5633 GB, free: 14.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.3645, allocations: 63.95 kB / 0.5633 GB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.3645, allocations: 7.844 kB / 0.5634 GB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.3647, allocations: 35.97 kB / 0.5634 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.3647, allocations: 7.984 kB / 0.5634 GB, free: 14.39 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 (20): * Single equations (assignments): 20 * 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.581e-05/0.3648, allocations: 102.4 kB / 0.5635 GB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001067/0.3649, allocations: 55.25 kB / 0.5635 GB, free: 14.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004902/0.3654, allocations: 278.1 kB / 0.5638 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3654, allocations: 4 kB / 0.5638 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.3655, allocations: 0 / 0.5638 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.3655, allocations: 0 / 0.5638 GB, free: 13.95 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009717/0.3664, allocations: 0.8574 MB / 0.5647 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.3665, allocations: 0 / 0.5647 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.3668, allocations: 67.95 kB / 0.5647 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3668, allocations: 0 / 0.5647 GB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3668, allocations: 11.88 kB / 0.5647 GB, free: 12.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.3668, allocations: 3.984 kB / 0.5647 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3668, allocations: 4 kB / 0.5647 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004044/0.3672, allocations: 411.7 kB / 0.5651 GB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.3674, allocations: 176.3 kB / 0.5653 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.3675, allocations: 0 / 0.5653 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.3678, allocations: 35.97 kB / 0.5653 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.547e-05/0.3678, allocations: 19.97 kB / 0.5654 GB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.3678, allocations: 4.375 kB / 0.5654 GB, free: 12.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0006099/0.3685, allocations: 0.5965 MB / 0.5659 GB, free: 11.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.3688, allocations: 68 kB / 0.566 GB, free: 11.62 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 (20): * Single equations (assignments): 20 * 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.0005406/0.3694, allocations: 309.9 kB / 0.5663 GB, free: 11.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3696, allocations: 143.9 kB / 0.5664 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3697, allocations: 4 kB / 0.5664 GB, free: 11.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3698, allocations: 87.86 kB / 0.5665 GB, free: 11.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004251/0.3702, allocations: 69.7 kB / 0.5666 GB, free: 11.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001179/0.3714, allocations: 0.7219 MB / 0.5673 GB, free: 10.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005373/0.372, allocations: 0.9268 MB / 0.5682 GB, free: 9.348 MB / 410.7 MB Notification: Performance of SimCode: time 2.7e-07/0.372, allocations: 0 / 0.5682 GB, free: 9.348 MB / 410.7 MB Notification: Performance of Templates: time 0.007553/0.3795, allocations: 4.189 MB / 0.5723 GB, free: 5.164 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches