Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008514/0.0008515, 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.065/1.065, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0008559/0.0008559, allocations: 98.83 kB / 261.4 MB, free: 13.62 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.1534/0.1534, allocations: 43.49 MB / 352.8 MB, free: 2.039 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.032e-06/6.052e-06, allocations: 4 kB / 417.7 MB, free: 40.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2315, allocations: 58.84 MB / 476.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1099/0.3415, allocations: 87.22 MB / 0.5506 GB, free: 11.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/0.3418, allocations: 75.95 kB / 0.5506 GB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0194/0.3612, allocations: 7.976 MB / 0.5584 GB, free: 3.684 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.786e-05/0.3613, allocations: 12 kB / 0.5584 GB, free: 3.672 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.0005503/0.3618, allocations: 0.6141 MB / 0.559 GB, free: 3.012 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.3619, allocations: 8.031 kB / 0.559 GB, free: 3.004 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.362, allocations: 55.34 kB / 0.5591 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005784/0.3625, allocations: 463 kB / 0.5595 GB, free: 2.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.3626, allocations: 4 kB / 0.5595 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.439e-05/0.3626, allocations: 12 kB / 0.5596 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/0.3627, allocations: 55.84 kB / 0.5596 GB, free: 2.383 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.3629, allocations: 109.1 kB / 0.5597 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3629, allocations: 3.938 kB / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.3629, allocations: 0 / 0.5597 GB, free: 2.262 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.3629, allocations: 4 kB / 0.5597 GB, free: 2.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008054/0.3637, allocations: 0.6688 MB / 0.5604 GB, free: 1.543 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3639, allocations: 79.55 kB / 0.5604 GB, free: 1.453 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.723e-05/0.3639, allocations: 29.84 kB / 0.5605 GB, free: 1.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3639, allocations: 7.922 kB / 0.5605 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.801e-05/0.364, allocations: 38.56 kB / 0.5605 GB, free: 1.363 MB / 394.7 MB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.364, allocations: 224 / 0.5605 GB, free: 1.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009155/0.3649, allocations: 414.4 kB / 0.5609 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.276e-05/0.3649, allocations: 85.05 kB / 0.561 GB, free: 0.8477 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007411/0.3657, allocations: 0.7442 MB / 0.5617 GB, free: 100 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3657, allocations: 25.7 kB / 0.5617 GB, free: 68 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.3658, allocations: 152.3 kB / 0.5619 GB, free: 15.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.248e-05/0.3658, allocations: 51.27 kB / 0.5619 GB, free: 15.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.3659, allocations: 0 / 0.5619 GB, free: 15.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.366, allocations: 366.8 kB / 0.5623 GB, free: 15.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.381e-05/0.366, allocations: 39.92 kB / 0.5623 GB, free: 15.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.3661, allocations: 49.72 kB / 0.5624 GB, free: 15.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.373e-05/0.3662, allocations: 39.89 kB / 0.5624 GB, free: 15.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3662, allocations: 4 kB / 0.5624 GB, free: 15.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002517/0.3665, allocations: 180.9 kB / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.3665, allocations: 4 kB / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3665, allocations: 128 / 0.5626 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.3665, allocations: 4 kB / 0.5626 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002017/0.3667, allocations: 47.91 kB / 0.5626 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.3667, allocations: 0 / 0.5626 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3669, allocations: 19.98 kB / 0.5627 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3669, allocations: 4 kB / 0.5627 GB, free: 15.09 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 6.494e-05/0.367, allocations: 110.4 kB / 0.5628 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.941e-05/0.3671, allocations: 55.23 kB / 0.5628 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003812/0.3675, allocations: 234.2 kB / 0.563 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3675, allocations: 0 / 0.563 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3675, allocations: 0 / 0.563 GB, free: 14.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3675, allocations: 4 kB / 0.5631 GB, free: 14.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008382/0.3683, allocations: 0.7637 MB / 0.5638 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.3683, allocations: 4 kB / 0.5638 GB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001736/0.3685, allocations: 43.91 kB / 0.5638 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3685, allocations: 0 / 0.5638 GB, free: 13.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.3685, allocations: 4 kB / 0.5638 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.3686, allocations: 7.938 kB / 0.5639 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3686, allocations: 0 / 0.5639 GB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000303/0.3689, allocations: 371.8 kB / 0.5642 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.3691, allocations: 176.4 kB / 0.5644 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.233e-05/0.3691, allocations: 3.938 kB / 0.5644 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.3693, allocations: 16 kB / 0.5644 GB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.3694, allocations: 15.97 kB / 0.5644 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3694, allocations: 8 kB / 0.5644 GB, free: 13.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005652/0.37, allocations: 0.5808 MB / 0.565 GB, free: 12.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000346/0.3703, allocations: 64 kB / 0.565 GB, free: 12.55 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.0005406/0.3709, allocations: 302.3 kB / 0.5653 GB, free: 12.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000185/0.3711, allocations: 95.92 kB / 0.5654 GB, free: 12.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3711, allocations: 7.938 kB / 0.5654 GB, free: 12.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.263e-05/0.3712, allocations: 55.94 kB / 0.5655 GB, free: 12.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.3715, allocations: 68.78 kB / 0.5656 GB, free: 12.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.3726, allocations: 0.694 MB / 0.5662 GB, free: 11.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004779/0.3731, allocations: 0.9073 MB / 0.5671 GB, free: 10.41 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3731, allocations: 0 / 0.5671 GB, free: 10.41 MB / 410.7 MB Notification: Performance of Templates: time 0.006817/0.3799, allocations: 3.666 MB / 0.5707 GB, free: 6.75 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches