Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2") [: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.0008572/0.0008572, allocations: 192.8 kB / 7.807 MB, free: 2.492 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.086/1.086, 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.000827/0.000827, allocations: 88.78 kB / 261.4 MB, free: 13.55 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.155/0.155, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.771e-06/5.781e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2395/0.2396, allocations: 58.83 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1055/0.345, allocations: 86.09 MB / 0.5495 GB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.3453, allocations: 67.97 kB / 0.5495 GB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01533/0.3606, allocations: 7.5 MB / 0.5568 GB, free: 5.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.3606, allocations: 4 kB / 0.5568 GB, free: 5.355 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.0004174/0.3611, allocations: 0.5519 MB / 0.5574 GB, free: 4.758 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.304e-05/0.3611, allocations: 15.09 kB / 0.5574 GB, free: 4.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.3612, allocations: 39.44 kB / 0.5574 GB, free: 4.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.3616, allocations: 323.4 kB / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.3616, allocations: 0 / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.417e-05/0.3616, allocations: 0 / 0.5577 GB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.067e-05/0.3617, allocations: 16 kB / 0.5578 GB, free: 4.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.489e-05/0.3617, allocations: 45.69 kB / 0.5578 GB, free: 4.281 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3618, allocations: 3.938 kB / 0.5578 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.3618, allocations: 0 / 0.5578 GB, free: 4.277 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.3618, allocations: 3.906 kB / 0.5578 GB, free: 4.273 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000443/0.3622, allocations: 413.2 kB / 0.5582 GB, free: 3.832 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.3624, allocations: 29.7 kB / 0.5582 GB, free: 3.797 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.563e-05/0.3624, allocations: 16.86 kB / 0.5583 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.632e-05/0.3624, allocations: 96 / 0.5583 GB, free: 3.777 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.3624, allocations: 42.48 kB / 0.5583 GB, free: 3.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.3625, allocations: 0 / 0.5583 GB, free: 3.727 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000376/0.3628, allocations: 176.1 kB / 0.5585 GB, free: 3.547 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.125e-05/0.3629, allocations: 55.41 kB / 0.5585 GB, free: 3.48 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009576/0.3638, allocations: 0.7473 MB / 0.5592 GB, free: 2.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3639, allocations: 25.7 kB / 0.5593 GB, free: 2.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.857e-05/0.3639, allocations: 144 kB / 0.5594 GB, free: 2.551 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.3639, allocations: 15.75 kB / 0.5594 GB, free: 2.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.3639, allocations: 0 / 0.5594 GB, free: 2.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.3641, allocations: 362.8 kB / 0.5598 GB, free: 2.172 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.3641, allocations: 4 kB / 0.5598 GB, free: 2.168 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.3641, allocations: 12 kB / 0.5598 GB, free: 2.156 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.386e-05/0.3641, allocations: 15.94 kB / 0.5598 GB, free: 2.141 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3641, allocations: 0 / 0.5598 GB, free: 2.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001175/0.3643, allocations: 101.2 kB / 0.5599 GB, free: 2.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.3643, allocations: 6.812 kB / 0.5599 GB, free: 2.031 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3643, allocations: 4.062 kB / 0.5599 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.3643, allocations: 0 / 0.5599 GB, free: 2.027 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.3644, allocations: 12 kB / 0.5599 GB, free: 2.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.3644, allocations: 3.984 kB / 0.5599 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.036e-05/0.3645, allocations: 15.91 kB / 0.5599 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.3645, allocations: 0 / 0.5599 GB, free: 1.996 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 (5): * Single equations (assignments): 5 * 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.627e-05/0.3646, allocations: 106.3 kB / 0.56 GB, free: 1.887 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.639e-05/0.3646, allocations: 43.44 kB / 0.5601 GB, free: 1.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/0.3648, allocations: 121.1 kB / 0.5602 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.3648, allocations: 0 / 0.5602 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.3648, allocations: 4 kB / 0.5602 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3648, allocations: 0 / 0.5602 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.3654, allocations: 0.5379 MB / 0.5607 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3654, allocations: 0 / 0.5607 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.3655, allocations: 15.94 kB / 0.5607 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3655, allocations: 0 / 0.5607 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.891e-06/0.3655, allocations: 0 / 0.5607 GB, free: 1.113 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3655, allocations: 4 kB / 0.5607 GB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.3655, allocations: 3.984 kB / 0.5607 GB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001493/0.3657, allocations: 183 kB / 0.5609 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.3658, allocations: 164.5 kB / 0.5611 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.736e-05/0.3659, allocations: 7.984 kB / 0.5611 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.366, allocations: 4.188 kB / 0.5611 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.366, allocations: 4 kB / 0.5611 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.366, allocations: 8 kB / 0.5611 GB, free: 0.707 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005462/0.3666, allocations: 0.6082 MB / 0.5617 GB, free: 104 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002649/0.3668, allocations: 59.92 kB / 0.5618 GB, free: 44 kB / 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 (5): * Single equations (assignments): 5 * 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.0005201/0.3674, allocations: 289.3 kB / 0.562 GB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 8.648e-05/0.3675, allocations: 27.94 kB / 0.5621 GB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.3675, allocations: 4 kB / 0.5621 GB, free: 15.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.803e-05/0.3675, allocations: 16 kB / 0.5621 GB, free: 15.75 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002223/0.3677, allocations: 32.95 kB / 0.5621 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.3688, allocations: 0.6996 MB / 0.5628 GB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004635/0.3693, allocations: 0.8567 MB / 0.5636 GB, free: 14.09 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3693, allocations: 0 / 0.5636 GB, free: 14.09 MB / 410.7 MB Notification: Performance of Templates: time 0.005258/0.3745, allocations: 2.18 MB / 0.5658 GB, free: 11.9 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches