Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") [: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.0009527/0.0009525, allocations: 187.4 kB / 7.803 MB, free: 2.441 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.071/1.071, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008025/0.0008023, allocations: 87.28 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.1536/0.1536, allocations: 43.48 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.994e-06/7.004e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 58.83 MB / 476.6 MB, free: 5.207 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09479/0.3245, allocations: 86.7 MB / 0.5501 GB, free: 12.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001954/0.3248, allocations: 71.95 kB / 0.5501 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01505/0.3398, allocations: 6.075 MB / 0.5561 GB, free: 6.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.3399, allocations: 0 / 0.5561 GB, free: 6.086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003551/0.3402, allocations: 410.2 kB / 0.5564 GB, free: 5.641 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3403, allocations: 12.03 kB / 0.5565 GB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.3403, allocations: 11.81 kB / 0.5565 GB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3405, allocations: 194.9 kB / 0.5567 GB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.3405, allocations: 4 kB / 0.5567 GB, free: 5.383 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.3406, allocations: 3.938 kB / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.437e-05/0.3406, allocations: 23.98 kB / 0.5567 GB, free: 5.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.565e-05/0.3407, allocations: 63.41 kB / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3407, allocations: 0 / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.3408, allocations: 0 / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-06/0.3408, allocations: 0 / 0.5567 GB, free: 5.281 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003464/0.3411, allocations: 293.3 kB / 0.557 GB, free: 4.957 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.245e-05/0.3412, allocations: 38.47 kB / 0.5571 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.3412, allocations: 20.86 kB / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.3412, allocations: 0 / 0.5571 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.3413, allocations: 38.56 kB / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.3413, allocations: 0 / 0.5571 GB, free: 4.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004185/0.3417, allocations: 145.4 kB / 0.5573 GB, free: 4.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.3418, allocations: 85.09 kB / 0.5573 GB, free: 4.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.934e-05/0.3419, allocations: 129.1 kB / 0.5575 GB, free: 4.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.3419, allocations: 25.7 kB / 0.5575 GB, free: 4.422 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.342, allocations: 91.98 kB / 0.5576 GB, free: 4.328 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.342, allocations: 23.7 kB / 0.5576 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.342, allocations: 0 / 0.5576 GB, free: 4.305 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.628e-05/0.3421, allocations: 322.8 kB / 0.5579 GB, free: 3.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.08e-05/0.3421, allocations: 20 kB / 0.5579 GB, free: 3.961 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.729e-05/0.3422, allocations: 29.72 kB / 0.558 GB, free: 3.926 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.542e-05/0.3422, allocations: 23.98 kB / 0.558 GB, free: 3.902 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.3422, allocations: 0 / 0.558 GB, free: 3.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001177/0.3423, allocations: 89.64 kB / 0.5581 GB, free: 3.809 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/0.3424, allocations: 8 kB / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3424, allocations: 0 / 0.5581 GB, free: 3.801 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.005e-06/0.3424, allocations: 3.938 kB / 0.5581 GB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.3425, allocations: 28.02 kB / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.3425, allocations: 0 / 0.5581 GB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.3426, allocations: 15.89 kB / 0.5581 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.3426, allocations: 8 kB / 0.5581 GB, free: 3.746 MB / 394.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 (7): * Single equations (assignments): 7 * 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.985e-05/0.3427, allocations: 110.3 kB / 0.5582 GB, free: 3.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.3427, allocations: 7.906 kB / 0.5582 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.3429, allocations: 102.5 kB / 0.5583 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3429, allocations: 7.938 kB / 0.5583 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.3429, allocations: 0 / 0.5583 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3429, allocations: 0 / 0.5583 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003176/0.3432, allocations: 351 kB / 0.5587 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3432, allocations: 0 / 0.5587 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-05/0.3433, allocations: 27.98 kB / 0.5587 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.3434, allocations: 0 / 0.5587 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.3434, allocations: 0 / 0.5587 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3434, allocations: 0 / 0.5587 GB, free: 3.094 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3434, allocations: 3.906 kB / 0.5587 GB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001567/0.3435, allocations: 187.4 kB / 0.5589 GB, free: 2.891 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.176e-05/0.3436, allocations: 89 kB / 0.559 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.3436, allocations: 144 / 0.559 GB, free: 2.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.3437, allocations: 12 kB / 0.559 GB, free: 2.773 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.3438, allocations: 19.91 kB / 0.559 GB, free: 2.754 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3438, allocations: 4 kB / 0.559 GB, free: 2.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.14e-05/0.3438, allocations: 110.6 kB / 0.5591 GB, free: 2.645 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002322/0.3441, allocations: 31.98 kB / 0.5591 GB, free: 2.613 MB / 394.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 (7): * Single equations (assignments): 7 * 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.0005541/0.3446, allocations: 336.3 kB / 0.5595 GB, free: 2.328 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.3448, allocations: 55.92 kB / 0.5595 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.3448, allocations: 0 / 0.5595 GB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.354e-05/0.3448, allocations: 27.98 kB / 0.5595 GB, free: 2.246 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.345, allocations: 19.83 kB / 0.5596 GB, free: 2.227 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002794/0.3453, allocations: 131.4 kB / 0.5597 GB, free: 2.074 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.3455, allocations: 0.7309 MB / 0.5604 GB, free: 1.316 MB / 394.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3455, allocations: 0 / 0.5604 GB, free: 1.316 MB / 394.7 MB Notification: Performance of Templates: time 0.003289/0.3488, allocations: 1.553 MB / 0.5619 GB, free: 15.77 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches