Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.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.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24") translateModel(ModelicaTest.Tables.CombiTable1D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24") [: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.0009043/0.0009043, allocations: 188 kB / 7.801 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.053/1.053, 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.000752/0.000752, allocations: 93.81 kB / 261.4 MB, free: 13.52 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.1596/0.1596, allocations: 43.49 MB / 352.8 MB, free: 1.934 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.731e-06/5.741e-06, allocations: 0 / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2472, allocations: 58.84 MB / 476.6 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1029/0.3502, allocations: 85.97 MB / 0.5493 GB, free: 12.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.3504, allocations: 75.95 kB / 0.5494 GB, free: 12.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01459/0.365, allocations: 5.794 MB / 0.5551 GB, free: 7.102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.3651, allocations: 4 kB / 0.5551 GB, free: 7.098 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003249/0.3654, allocations: 398.3 kB / 0.5555 GB, free: 6.664 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.3654, allocations: 11.97 kB / 0.5555 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.3655, allocations: 7.906 kB / 0.5555 GB, free: 6.645 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.3657, allocations: 188.7 kB / 0.5556 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.3657, allocations: 0 / 0.5556 GB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.3657, allocations: 4 kB / 0.5557 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.993e-05/0.3658, allocations: 15.91 kB / 0.5557 GB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.435e-05/0.3658, allocations: 55.41 kB / 0.5557 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.3658, allocations: 0 / 0.5557 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3659, allocations: 0 / 0.5557 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3659, allocations: 4 kB / 0.5557 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002953/0.3662, allocations: 265.3 kB / 0.556 GB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3663, allocations: 33.7 kB / 0.556 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.227e-05/0.3663, allocations: 8.859 kB / 0.556 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.3664, allocations: 0 / 0.556 GB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.785e-05/0.3664, allocations: 38.56 kB / 0.5561 GB, free: 5.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.3664, allocations: 0 / 0.5561 GB, free: 5.938 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003292/0.3667, allocations: 109.4 kB / 0.5562 GB, free: 5.824 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.3668, allocations: 77.11 kB / 0.5562 GB, free: 5.73 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.3e-05/0.3669, allocations: 121 kB / 0.5563 GB, free: 5.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3669, allocations: 25.7 kB / 0.5564 GB, free: 5.574 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.905e-05/0.3669, allocations: 88.12 kB / 0.5565 GB, free: 5.484 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.367, allocations: 15.75 kB / 0.5565 GB, free: 5.469 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.367, allocations: 0 / 0.5565 GB, free: 5.469 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.3671, allocations: 326.8 kB / 0.5568 GB, free: 5.141 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.3671, allocations: 8 kB / 0.5568 GB, free: 5.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.3671, allocations: 25.72 kB / 0.5568 GB, free: 5.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.633e-05/0.3672, allocations: 11.98 kB / 0.5568 GB, free: 5.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3672, allocations: 7.906 kB / 0.5568 GB, free: 5.082 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.198e-05/0.3673, allocations: 61.62 kB / 0.5569 GB, free: 5.016 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.3673, allocations: 7.938 kB / 0.5569 GB, free: 5.008 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.3673, allocations: 3.906 kB / 0.5569 GB, free: 5.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.3673, allocations: 4.141 kB / 0.5569 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.3674, allocations: 20.27 kB / 0.5569 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.3674, allocations: 0 / 0.5569 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.243e-05/0.3674, allocations: 8 kB / 0.5569 GB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.3674, allocations: 7.922 kB / 0.5569 GB, free: 4.965 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 5.261e-05/0.3675, allocations: 106.4 kB / 0.557 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.3675, allocations: 11.91 kB / 0.5571 GB, free: 4.844 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.3677, allocations: 77.67 kB / 0.5571 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3677, allocations: 0 / 0.5571 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.3677, allocations: 0 / 0.5571 GB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.3677, allocations: 3.906 kB / 0.5571 GB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002639/0.368, allocations: 307.1 kB / 0.5574 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.368, allocations: 0 / 0.5574 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.3681, allocations: 20 kB / 0.5574 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3681, allocations: 0 / 0.5574 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.3681, allocations: 3.984 kB / 0.5574 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.3681, allocations: 3.906 kB / 0.5575 GB, free: 4.383 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3681, allocations: 7.938 kB / 0.5575 GB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001144/0.3682, allocations: 151.5 kB / 0.5576 GB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.3683, allocations: 89.02 kB / 0.5577 GB, free: 4.105 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.3683, allocations: 3.984 kB / 0.5577 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.3684, allocations: 12 kB / 0.5577 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.3684, allocations: 3.984 kB / 0.5577 GB, free: 4.086 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3684, allocations: 0 / 0.5577 GB, free: 4.086 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.649e-05/0.3685, allocations: 103.8 kB / 0.5578 GB, free: 3.984 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002283/0.3687, allocations: 31.98 kB / 0.5578 GB, free: 3.953 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 (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.0005806/0.3693, allocations: 344.9 kB / 0.5582 GB, free: 3.648 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.748e-05/0.3694, allocations: 32 kB / 0.5582 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.3694, allocations: 0 / 0.5582 GB, free: 3.617 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.049e-05/0.3694, allocations: 19.98 kB / 0.5582 GB, free: 3.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000176/0.3696, allocations: 15.77 kB / 0.5582 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002337/0.3698, allocations: 107.8 kB / 0.5583 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002325/0.3701, allocations: 0.7114 MB / 0.559 GB, free: 2.711 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.3701, allocations: 0 / 0.559 GB, free: 2.711 MB / 394.7 MB Notification: Performance of Templates: time 0.002955/0.3731, allocations: 1.348 MB / 0.5603 GB, free: 1.371 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches