Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.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.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.CombiTable1Ds.Test32") [: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.0008603/0.0008603, allocations: 178.9 kB / 7.802 MB, free: 1.211 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 205.2 MB / 213.4 MB, free: 8.527 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007698/0.0007699, allocations: 87.95 kB / 261.4 MB, free: 5.094 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1477/0.1477, allocations: 43.49 MB / 352.9 MB, free: 11.35 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.073e-06/7.093e-06, allocations: 0 / 417.7 MB, free: 68.21 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08591/0.08593, allocations: 58.85 MB / 476.6 MB, free: 9.301 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2507/0.3366, allocations: 85.55 MB / 0.5489 GB, free: 10.71 MB / 370.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/0.3369, allocations: 72.33 kB / 0.549 GB, free: 10.68 MB / 370.8 MB Notification: Performance of FrontEnd: time 0.009003/0.3459, allocations: 3.656 MB / 0.5526 GB, free: 7.637 MB / 370.8 MB Notification: Performance of Transformations before backend: time 1.278e-05/0.346, allocations: 8 kB / 0.5526 GB, free: 7.629 MB / 370.8 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.0003118/0.3463, allocations: 385 kB / 0.553 GB, free: 7.219 MB / 370.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3463, allocations: 12.03 kB / 0.553 GB, free: 7.207 MB / 370.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.3464, allocations: 15.8 kB / 0.553 GB, free: 7.191 MB / 370.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.3466, allocations: 209.3 kB / 0.5532 GB, free: 6.953 MB / 370.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.703e-06/0.3466, allocations: 0 / 0.5532 GB, free: 6.953 MB / 370.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.3466, allocations: 0 / 0.5532 GB, free: 6.953 MB / 370.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.791e-05/0.3467, allocations: 11.5 kB / 0.5532 GB, free: 6.945 MB / 370.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.356e-05/0.3468, allocations: 45.12 kB / 0.5532 GB, free: 6.898 MB / 370.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.3468, allocations: 0 / 0.5532 GB, free: 6.898 MB / 370.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.3468, allocations: 0 / 0.5532 GB, free: 6.898 MB / 370.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3468, allocations: 0 / 0.5532 GB, free: 6.898 MB / 370.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002963/0.3471, allocations: 273.7 kB / 0.5535 GB, free: 6.613 MB / 370.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.3473, allocations: 29.91 kB / 0.5535 GB, free: 6.582 MB / 370.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.3473, allocations: 20.23 kB / 0.5535 GB, free: 6.562 MB / 370.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.3473, allocations: 0 / 0.5535 GB, free: 6.562 MB / 370.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.3474, allocations: 34.64 kB / 0.5536 GB, free: 6.52 MB / 370.8 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.3474, allocations: 0 / 0.5536 GB, free: 6.52 MB / 370.8 MB Notification: Performance of matching and sorting (n=5): time 0.0003517/0.3477, allocations: 110.8 kB / 0.5537 GB, free: 6.414 MB / 370.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.3478, allocations: 55.41 kB / 0.5537 GB, free: 6.348 MB / 370.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3479, allocations: 218.3 kB / 0.5539 GB, free: 6.156 MB / 370.8 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.348, allocations: 29.64 kB / 0.554 GB, free: 6.121 MB / 370.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.21e-05/0.348, allocations: 92.02 kB / 0.5541 GB, free: 6.031 MB / 370.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.034e-05/0.348, allocations: 27.58 kB / 0.5541 GB, free: 6.008 MB / 370.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.348, allocations: 0 / 0.5541 GB, free: 6.008 MB / 370.8 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3482, allocations: 322.1 kB / 0.5544 GB, free: 5.688 MB / 370.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.3482, allocations: 6.812 kB / 0.5544 GB, free: 5.684 MB / 370.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.626e-05/0.3482, allocations: 7.75 kB / 0.5544 GB, free: 5.68 MB / 370.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.3482, allocations: 11.25 kB / 0.5544 GB, free: 5.672 MB / 370.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-07/0.3482, allocations: 4 kB / 0.5544 GB, free: 5.668 MB / 370.8 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.951e-05/0.3483, allocations: 69.19 kB / 0.5545 GB, free: 5.602 MB / 370.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.3483, allocations: 4 kB / 0.5545 GB, free: 5.598 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.3484, allocations: 0 / 0.5545 GB, free: 5.598 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.3484, allocations: 0 / 0.5545 GB, free: 5.598 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.209e-05/0.3484, allocations: 15.98 kB / 0.5545 GB, free: 5.582 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.3485, allocations: 0 / 0.5545 GB, free: 5.582 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.3485, allocations: 12 kB / 0.5545 GB, free: 5.57 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.3485, allocations: 0 / 0.5545 GB, free: 5.57 MB / 370.8 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.493e-05/0.3486, allocations: 102.5 kB / 0.5546 GB, free: 5.465 MB / 370.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.3486, allocations: 15.81 kB / 0.5546 GB, free: 5.449 MB / 370.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3488, allocations: 79.06 kB / 0.5547 GB, free: 5.383 MB / 370.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3488, allocations: 4 kB / 0.5547 GB, free: 5.379 MB / 370.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.3488, allocations: 0 / 0.5547 GB, free: 5.379 MB / 370.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3488, allocations: 4 kB / 0.5547 GB, free: 5.375 MB / 370.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.3491, allocations: 334 kB / 0.555 GB, free: 5.031 MB / 370.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.3491, allocations: 0 / 0.555 GB, free: 5.031 MB / 370.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-05/0.3492, allocations: 16.36 kB / 0.555 GB, free: 5.016 MB / 370.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3492, allocations: 0 / 0.555 GB, free: 5.016 MB / 370.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.3492, allocations: 4 kB / 0.5551 GB, free: 5.012 MB / 370.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3492, allocations: 4 kB / 0.5551 GB, free: 5.008 MB / 370.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3492, allocations: 4 kB / 0.5551 GB, free: 5.004 MB / 370.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/0.3493, allocations: 161.7 kB / 0.5552 GB, free: 4.84 MB / 370.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.998e-05/0.3494, allocations: 100.7 kB / 0.5553 GB, free: 4.727 MB / 370.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.3494, allocations: 3.984 kB / 0.5553 GB, free: 4.723 MB / 370.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.506e-05/0.3495, allocations: 4 kB / 0.5553 GB, free: 4.719 MB / 370.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.3495, allocations: 0 / 0.5553 GB, free: 4.719 MB / 370.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.3495, allocations: 11.98 kB / 0.5553 GB, free: 4.707 MB / 370.8 MB Notification: Performance of sort global known variables: time 0.0001211/0.3497, allocations: 168.3 kB / 0.5555 GB, free: 4.57 MB / 370.8 MB Notification: Performance of remove unused functions: time 0.0002196/0.3499, allocations: 29.8 kB / 0.5555 GB, free: 4.543 MB / 370.8 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.000544/0.3504, allocations: 299.5 kB / 0.5558 GB, free: 4.297 MB / 370.8 MB Notification: Performance of simCode: created initialization part: time 7.503e-05/0.3505, allocations: 26.38 kB / 0.5558 GB, free: 4.277 MB / 370.8 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3505, allocations: 0 / 0.5558 GB, free: 4.277 MB / 370.8 MB Notification: Performance of simCode: created simulation system equations: time 2.552e-05/0.3506, allocations: 23.61 kB / 0.5559 GB, free: 4.262 MB / 370.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001841/0.3508, allocations: 8.312 kB / 0.5559 GB, free: 4.25 MB / 370.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.3511, allocations: 181 kB / 0.556 GB, free: 4.066 MB / 370.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/0.3514, allocations: 0.7254 MB / 0.5567 GB, free: 3.32 MB / 370.8 MB Notification: Performance of SimCode: time 1.784e-06/0.3514, allocations: 0 / 0.5567 GB, free: 3.32 MB / 370.8 MB Notification: Performance of Templates: time 0.003054/0.3544, allocations: 1.239 MB / 0.558 GB, free: 2.098 MB / 370.8 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches