Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4") [: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.0008678/0.0008678, allocations: 188.3 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.085/1.085, 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.000779/0.0007791, allocations: 87.34 kB / 261.4 MB, free: 13.61 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.1577/0.1577, allocations: 43.48 MB / 352.8 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.673e-06/6.683e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2383, allocations: 58.83 MB / 476.6 MB, free: 5.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.107/0.3453, allocations: 85.77 MB / 0.5491 GB, free: 13.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.3456, allocations: 71.45 kB / 0.5492 GB, free: 13.1 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.009869/0.3555, allocations: 3.889 MB / 0.553 GB, free: 9.211 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3555, allocations: 4 kB / 0.553 GB, free: 9.207 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003281/0.3558, allocations: 398 kB / 0.5534 GB, free: 8.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.3559, allocations: 8.031 kB / 0.5534 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.237e-05/0.3559, allocations: 15.81 kB / 0.5534 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.3561, allocations: 214.9 kB / 0.5536 GB, free: 8.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.3562, allocations: 3.906 kB / 0.5536 GB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3562, allocations: 4 kB / 0.5536 GB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.408e-05/0.3563, allocations: 16 kB / 0.5536 GB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.787e-05/0.3564, allocations: 71.33 kB / 0.5537 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3564, allocations: 0 / 0.5537 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.3564, allocations: 0 / 0.5537 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3564, allocations: 4 kB / 0.5537 GB, free: 8.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.3568, allocations: 389.6 kB / 0.5541 GB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.357, allocations: 67.39 kB / 0.5542 GB, free: 7.891 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.732e-05/0.3571, allocations: 25.72 kB / 0.5542 GB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.069e-05/0.3571, allocations: 3.906 kB / 0.5542 GB, free: 7.855 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.3571, allocations: 38.64 kB / 0.5542 GB, free: 7.809 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.3571, allocations: 0 / 0.5542 GB, free: 7.809 MB / 394.7 MB Notification: Performance of matching and sorting (n=10): time 0.000512/0.3577, allocations: 185 kB / 0.5544 GB, free: 7.621 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.3577, allocations: 81.05 kB / 0.5545 GB, free: 7.523 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.3579, allocations: 197.5 kB / 0.5547 GB, free: 7.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.3579, allocations: 25.7 kB / 0.5547 GB, free: 7.289 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.334e-05/0.3579, allocations: 96.03 kB / 0.5548 GB, free: 7.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.358, allocations: 31.55 kB / 0.5548 GB, free: 7.16 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-06/0.358, allocations: 4 kB / 0.5548 GB, free: 7.156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.584e-05/0.3581, allocations: 322.8 kB / 0.5551 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.3581, allocations: 24 kB / 0.5551 GB, free: 6.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.3582, allocations: 37.7 kB / 0.5552 GB, free: 6.766 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.59e-05/0.3582, allocations: 32.11 kB / 0.5552 GB, free: 6.734 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3582, allocations: 4.094 kB / 0.5552 GB, free: 6.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001428/0.3584, allocations: 101.5 kB / 0.5553 GB, free: 6.625 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.3584, allocations: 11.94 kB / 0.5553 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.3584, allocations: 0 / 0.5553 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.3584, allocations: 0 / 0.5553 GB, free: 6.613 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.3585, allocations: 27.98 kB / 0.5553 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3585, allocations: 3.906 kB / 0.5554 GB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.3586, allocations: 4 kB / 0.5554 GB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3586, allocations: 4 kB / 0.5554 GB, free: 6.574 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.38e-05/0.3587, allocations: 106.3 kB / 0.5555 GB, free: 6.465 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.3587, allocations: 19.8 kB / 0.5555 GB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001994/0.3589, allocations: 122.7 kB / 0.5556 GB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.359, allocations: 4 kB / 0.5556 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.359, allocations: 0 / 0.5556 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.359, allocations: 288 / 0.5556 GB, free: 6.32 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.3595, allocations: 495 kB / 0.5561 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3595, allocations: 0 / 0.5561 GB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.3596, allocations: 28.33 kB / 0.5561 GB, free: 5.762 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3596, allocations: 3.906 kB / 0.5561 GB, free: 5.758 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.318e-06/0.3596, allocations: 4 kB / 0.5561 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.3596, allocations: 7.938 kB / 0.5561 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3596, allocations: 0 / 0.5561 GB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001933/0.3598, allocations: 302.9 kB / 0.5564 GB, free: 5.418 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.3599, allocations: 100.9 kB / 0.5565 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.169e-05/0.3599, allocations: 0 / 0.5565 GB, free: 5.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.36, allocations: 8 kB / 0.5565 GB, free: 5.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.198e-05/0.36, allocations: 3.984 kB / 0.5565 GB, free: 5.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.3601, allocations: 8 kB / 0.5565 GB, free: 5.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001129/0.3602, allocations: 168.2 kB / 0.5567 GB, free: 5.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.3604, allocations: 23.94 kB / 0.5567 GB, free: 5.094 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000508/0.361, allocations: 296.1 kB / 0.557 GB, free: 4.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001183/0.3611, allocations: 63.92 kB / 0.557 GB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.3611, allocations: 0 / 0.557 GB, free: 4.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.698e-05/0.3611, allocations: 35.94 kB / 0.5571 GB, free: 4.742 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.3614, allocations: 24.12 kB / 0.5571 GB, free: 4.719 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.3618, allocations: 217.2 kB / 0.5573 GB, free: 4.477 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002696/0.3621, allocations: 0.7433 MB / 0.558 GB, free: 3.707 MB / 394.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3621, allocations: 0 / 0.558 GB, free: 3.707 MB / 394.7 MB Notification: Performance of Templates: time 0.003211/0.3653, allocations: 1.438 MB / 0.5594 GB, free: 2.277 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches