Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") [: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.001046/0.001046, allocations: 187.2 kB / 7.804 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.091/1.091, allocations: 205.2 MB / 213.4 MB, free: 13.85 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.0007745/0.0007743, allocations: 92.92 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.1678/0.1678, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.312e-06/6.332e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2453, allocations: 58.83 MB / 476.6 MB, free: 5.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1049/0.3502, allocations: 85.55 MB / 0.5489 GB, free: 13.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001497/0.3504, allocations: 75.25 kB / 0.549 GB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009119/0.3595, allocations: 3.769 MB / 0.5527 GB, free: 9.566 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3596, allocations: 0 / 0.5527 GB, free: 9.566 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.0003172/0.3599, allocations: 406.2 kB / 0.5531 GB, free: 9.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.505e-05/0.3599, allocations: 8.031 kB / 0.5531 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.36, allocations: 11.81 kB / 0.5531 GB, free: 9.105 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.3602, allocations: 214.6 kB / 0.5533 GB, free: 8.855 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.41e-06/0.3602, allocations: 3.938 kB / 0.5533 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.809e-06/0.3602, allocations: 0 / 0.5533 GB, free: 8.852 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.875e-05/0.3603, allocations: 12 kB / 0.5533 GB, free: 8.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.784e-05/0.3603, allocations: 45.69 kB / 0.5534 GB, free: 8.789 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.3604, allocations: 3.984 kB / 0.5534 GB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3604, allocations: 3.906 kB / 0.5534 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.905e-06/0.3604, allocations: 0 / 0.5534 GB, free: 8.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/0.3607, allocations: 277.4 kB / 0.5536 GB, free: 8.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3608, allocations: 29.66 kB / 0.5537 GB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.051e-05/0.3608, allocations: 16.8 kB / 0.5537 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.35e-05/0.3608, allocations: 4 kB / 0.5537 GB, free: 8.414 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.3609, allocations: 34.56 kB / 0.5537 GB, free: 8.371 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.3609, allocations: 0 / 0.5537 GB, free: 8.371 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003102/0.3612, allocations: 105.3 kB / 0.5538 GB, free: 8.262 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/0.3612, allocations: 55.41 kB / 0.5539 GB, free: 8.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.3615, allocations: 233.5 kB / 0.5541 GB, free: 7.957 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.3615, allocations: 25.7 kB / 0.5541 GB, free: 7.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.3615, allocations: 92.12 kB / 0.5542 GB, free: 7.832 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.3615, allocations: 23.66 kB / 0.5542 GB, free: 7.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.3615, allocations: 0 / 0.5542 GB, free: 7.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3617, allocations: 326.8 kB / 0.5545 GB, free: 7.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.3617, allocations: 11.98 kB / 0.5545 GB, free: 7.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.654e-05/0.3617, allocations: 12 kB / 0.5546 GB, free: 7.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.174e-05/0.3617, allocations: 8 kB / 0.5546 GB, free: 7.449 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-07/0.3618, allocations: 0 / 0.5546 GB, free: 7.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.121e-05/0.3619, allocations: 65.75 kB / 0.5546 GB, free: 7.379 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.3619, allocations: 8 kB / 0.5546 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.3619, allocations: 0 / 0.5546 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.3619, allocations: 0 / 0.5546 GB, free: 7.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.749e-05/0.362, allocations: 16 kB / 0.5547 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.362, allocations: 0 / 0.5547 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.362, allocations: 11.98 kB / 0.5547 GB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-06/0.362, allocations: 7.938 kB / 0.5547 GB, free: 7.336 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.731e-05/0.3621, allocations: 102.5 kB / 0.5548 GB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.3621, allocations: 15.81 kB / 0.5548 GB, free: 7.215 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/0.3623, allocations: 70.77 kB / 0.5549 GB, free: 7.141 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.3623, allocations: 4 kB / 0.5549 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3623, allocations: 3.906 kB / 0.5549 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.3623, allocations: 0 / 0.5549 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000332/0.3626, allocations: 343.1 kB / 0.5552 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3626, allocations: 0 / 0.5552 GB, free: 6.754 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.385e-05/0.3627, allocations: 15.98 kB / 0.5552 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.3627, allocations: 0 / 0.5552 GB, free: 6.738 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.3627, allocations: 7.906 kB / 0.5552 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3627, allocations: 0 / 0.5552 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.3627, allocations: 0 / 0.5552 GB, free: 6.73 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000131/0.3629, allocations: 159.4 kB / 0.5554 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.363, allocations: 104.9 kB / 0.5555 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.363, allocations: 0 / 0.5555 GB, free: 6.438 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.3631, allocations: 8 kB / 0.5555 GB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.3631, allocations: 3.984 kB / 0.5555 GB, free: 6.426 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3631, allocations: 8.062 kB / 0.5555 GB, free: 6.418 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001591/0.3633, allocations: 200.3 kB / 0.5557 GB, free: 6.223 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000243/0.3635, allocations: 24 kB / 0.5557 GB, free: 6.199 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.0005245/0.3641, allocations: 306.3 kB / 0.556 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 6.615e-05/0.3641, allocations: 24 kB / 0.556 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.3641, allocations: 0 / 0.556 GB, free: 5.906 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.482e-05/0.3642, allocations: 15.94 kB / 0.556 GB, free: 5.891 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001826/0.3644, allocations: 24.03 kB / 0.556 GB, free: 5.863 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003465/0.3647, allocations: 203.9 kB / 0.5562 GB, free: 5.633 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002766/0.365, allocations: 0.738 MB / 0.557 GB, free: 4.871 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.365, allocations: 0 / 0.557 GB, free: 4.871 MB / 394.7 MB Notification: Performance of Templates: time 0.002907/0.3679, allocations: 1.268 MB / 0.5582 GB, free: 3.609 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches