Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46") [: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.0009767/0.0009765, allocations: 184.2 kB / 7.801 MB, free: 2.445 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.042/1.042, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.0008525/0.0008525, allocations: 90.52 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.1557/0.1557, allocations: 43.49 MB / 352.8 MB, free: 1.969 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.496e-06/8.637e-06, allocations: 4 kB / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2257, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09654/0.3223, allocations: 86.88 MB / 0.5502 GB, free: 12.13 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.3225, allocations: 67.97 kB / 0.5503 GB, free: 12.06 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01349/0.336, allocations: 5.289 MB / 0.5555 GB, free: 6.773 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.336, allocations: 0 / 0.5555 GB, free: 6.773 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000383/0.3364, allocations: 425 kB / 0.5559 GB, free: 6.316 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.3365, allocations: 8.031 kB / 0.5559 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.836e-05/0.3365, allocations: 11.81 kB / 0.5559 GB, free: 6.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3368, allocations: 222.8 kB / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.3368, allocations: 0 / 0.5561 GB, free: 6.039 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.3369, allocations: 7.906 kB / 0.5561 GB, free: 6.031 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.428e-05/0.3369, allocations: 19.98 kB / 0.5561 GB, free: 6.012 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.635e-05/0.337, allocations: 57.62 kB / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3371, allocations: 0 / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.3371, allocations: 0 / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3371, allocations: 0 / 0.5562 GB, free: 5.949 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.3374, allocations: 285.3 kB / 0.5565 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.3375, allocations: 46.69 kB / 0.5565 GB, free: 5.578 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.3376, allocations: 20.98 kB / 0.5565 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3376, allocations: 4 kB / 0.5565 GB, free: 5.551 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.455e-05/0.3377, allocations: 67.27 kB / 0.5566 GB, free: 5.473 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.3377, allocations: 4 kB / 0.5566 GB, free: 5.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003517/0.338, allocations: 137.1 kB / 0.5567 GB, free: 5.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.3381, allocations: 59.41 kB / 0.5568 GB, free: 5.258 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.3383, allocations: 225.7 kB / 0.557 GB, free: 5.027 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3383, allocations: 29.7 kB / 0.557 GB, free: 4.992 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.3383, allocations: 92.12 kB / 0.5571 GB, free: 4.898 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.3384, allocations: 27.64 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.3384, allocations: 0 / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.291e-05/0.3385, allocations: 330.8 kB / 0.5575 GB, free: 4.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/0.3385, allocations: 19.94 kB / 0.5575 GB, free: 4.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.775e-05/0.3385, allocations: 29.72 kB / 0.5575 GB, free: 4.484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.921e-05/0.3386, allocations: 27.98 kB / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.3386, allocations: 0 / 0.5575 GB, free: 4.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001269/0.3387, allocations: 93.48 kB / 0.5576 GB, free: 4.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.3387, allocations: 7.938 kB / 0.5576 GB, free: 4.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3387, allocations: 7.984 kB / 0.5576 GB, free: 4.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.3388, allocations: 3.906 kB / 0.5576 GB, free: 4.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.134e-05/0.3388, allocations: 12 kB / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.3389, allocations: 192 / 0.5577 GB, free: 4.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.151e-05/0.3389, allocations: 7.984 kB / 0.5577 GB, free: 4.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3389, allocations: 16.11 kB / 0.5577 GB, free: 4.305 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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 5.593e-05/0.339, allocations: 104.4 kB / 0.5578 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.339, allocations: 15.81 kB / 0.5578 GB, free: 4.184 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001812/0.3392, allocations: 115 kB / 0.5579 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3392, allocations: 0 / 0.5579 GB, free: 4.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3392, allocations: 3.906 kB / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3392, allocations: 0 / 0.5579 GB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.3396, allocations: 396 kB / 0.5583 GB, free: 3.625 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3396, allocations: 7.906 kB / 0.5583 GB, free: 3.617 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.886e-05/0.3397, allocations: 8 kB / 0.5583 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3397, allocations: 0 / 0.5583 GB, free: 3.609 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.468e-06/0.3397, allocations: 4 kB / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3397, allocations: 0 / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3397, allocations: 0 / 0.5583 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000169/0.3399, allocations: 209.9 kB / 0.5585 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3399, allocations: 104.8 kB / 0.5586 GB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.34, allocations: 7.906 kB / 0.5586 GB, free: 3.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.946e-05/0.3401, allocations: 3.984 kB / 0.5586 GB, free: 3.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.752e-05/0.3401, allocations: 8 kB / 0.5586 GB, free: 3.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.3401, allocations: 4 kB / 0.5586 GB, free: 3.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001495/0.3403, allocations: 188.2 kB / 0.5588 GB, free: 3.047 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.3405, allocations: 43.86 kB / 0.5588 GB, free: 3.004 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006064/0.3411, allocations: 345.1 kB / 0.5592 GB, free: 2.703 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001093/0.3412, allocations: 55.94 kB / 0.5592 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3413, allocations: 4.062 kB / 0.5592 GB, free: 2.645 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.3413, allocations: 27.98 kB / 0.5593 GB, free: 2.617 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.3416, allocations: 23.84 kB / 0.5593 GB, free: 2.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.342, allocations: 212.7 kB / 0.5595 GB, free: 2.348 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003182/0.3423, allocations: 0.7461 MB / 0.5602 GB, free: 1.578 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3423, allocations: 4.062 kB / 0.5602 GB, free: 1.574 MB / 394.7 MB Notification: Performance of Templates: time 0.004006/0.3463, allocations: 1.749 MB / 0.5619 GB, free: 15.84 MB / 410.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches