Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.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.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,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.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19") [: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.0009136/0.0009137, allocations: 191.1 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.84 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.0008635/0.0008636, allocations: 93.83 kB / 261.4 MB, free: 13.53 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.1586/0.1586, allocations: 43.49 MB / 352.8 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.084e-06/7.104e-06, allocations: 4 kB / 417.7 MB, free: 40.53 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2317, allocations: 58.84 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1077/0.3395, allocations: 87.98 MB / 0.5513 GB, free: 10.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.3397, allocations: 67.97 kB / 0.5514 GB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01875/0.3585, allocations: 8.007 MB / 0.5592 GB, free: 2.855 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.369e-05/0.3585, allocations: 4 kB / 0.5592 GB, free: 2.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004306/0.3589, allocations: 0.5364 MB / 0.5597 GB, free: 2.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.359, allocations: 15.97 kB / 0.5597 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.96e-05/0.3591, allocations: 35.53 kB / 0.5598 GB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.3595, allocations: 337.2 kB / 0.5601 GB, free: 1.848 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.3595, allocations: 7.906 kB / 0.5601 GB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.3595, allocations: 7.938 kB / 0.5601 GB, free: 1.832 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000119/0.3597, allocations: 51.98 kB / 0.5602 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.3598, allocations: 73.66 kB / 0.5602 GB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3598, allocations: 11.98 kB / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.3598, allocations: 0 / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3598, allocations: 0 / 0.5602 GB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.3604, allocations: 461 kB / 0.5607 GB, free: 1.203 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.07e-05/0.3605, allocations: 66.56 kB / 0.5607 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.251e-05/0.3606, allocations: 28.97 kB / 0.5608 GB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.3606, allocations: 3.984 kB / 0.5608 GB, free: 1.094 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.3606, allocations: 34.81 kB / 0.5608 GB, free: 1.051 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.497e-06/0.3606, allocations: 0 / 0.5608 GB, free: 1.051 MB / 394.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002094/0.3608, allocations: 117.1 kB / 0.5609 GB, free: 0.9297 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.304e-05/0.3609, allocations: 51.41 kB / 0.561 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004682/0.3613, allocations: 489 kB / 0.5614 GB, free: 392 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3614, allocations: 25.7 kB / 0.5615 GB, free: 360 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/0.3614, allocations: 132.3 kB / 0.5616 GB, free: 220 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.3614, allocations: 7.812 kB / 0.5616 GB, free: 212 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.3615, allocations: 0 / 0.5616 GB, free: 212 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3616, allocations: 354.7 kB / 0.5619 GB, free: 15.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.611e-05/0.3616, allocations: 23.98 kB / 0.562 GB, free: 15.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.735e-05/0.3617, allocations: 19.94 kB / 0.562 GB, free: 15.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.985e-05/0.3617, allocations: 27.98 kB / 0.562 GB, free: 15.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3617, allocations: 4 kB / 0.562 GB, free: 15.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001465/0.3619, allocations: 121.1 kB / 0.5621 GB, free: 15.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.676e-06/0.3619, allocations: 6.812 kB / 0.5621 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.3619, allocations: 4.234 kB / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.3619, allocations: 0 / 0.5621 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.374e-05/0.362, allocations: 16 kB / 0.5621 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.362, allocations: 0 / 0.5621 GB, free: 15.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.62e-05/0.3621, allocations: 7.938 kB / 0.5621 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.3621, allocations: 11.98 kB / 0.5622 GB, free: 15.61 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 (6): * Single equations (assignments): 6 * 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.503e-05/0.3621, allocations: 110.3 kB / 0.5623 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.3622, allocations: 35.53 kB / 0.5623 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3624, allocations: 140.9 kB / 0.5624 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3625, allocations: 0 / 0.5624 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.3625, allocations: 0 / 0.5624 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3625, allocations: 0 / 0.5624 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3627, allocations: 286 kB / 0.5627 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.3627, allocations: 0 / 0.5627 GB, free: 15 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.3628, allocations: 16 kB / 0.5627 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.3628, allocations: 0 / 0.5627 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.383e-06/0.3628, allocations: 3.938 kB / 0.5627 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3628, allocations: 4 kB / 0.5627 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3628, allocations: 0 / 0.5627 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001807/0.363, allocations: 215 kB / 0.5629 GB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001124/0.3631, allocations: 140.6 kB / 0.5631 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.222e-05/0.3632, allocations: 4 kB / 0.5631 GB, free: 14.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.756e-05/0.3633, allocations: 7.984 kB / 0.5631 GB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.3633, allocations: 4 kB / 0.5631 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.3633, allocations: 0 / 0.5631 GB, free: 14.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003412/0.3637, allocations: 387.1 kB / 0.5635 GB, free: 14.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002759/0.364, allocations: 47.84 kB / 0.5635 GB, free: 14.15 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 (6): * Single equations (assignments): 6 * 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.0007239/0.3647, allocations: 432.4 kB / 0.5639 GB, free: 13.77 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001063/0.3648, allocations: 51.98 kB / 0.564 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.3648, allocations: 4 kB / 0.564 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.3649, allocations: 31.92 kB / 0.564 GB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.3652, allocations: 64.31 kB / 0.5641 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/0.3659, allocations: 480.8 kB / 0.5645 GB, free: 13.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003692/0.3663, allocations: 0.8447 MB / 0.5653 GB, free: 12.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3663, allocations: 0 / 0.5653 GB, free: 12.27 MB / 410.7 MB Notification: Performance of Templates: time 0.005453/0.3718, allocations: 2.961 MB / 0.5682 GB, free: 9.305 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches