Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62") [: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.0009442/0.0009444, allocations: 189.8 kB / 7.804 MB, free: 2.488 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.045/1.045, allocations: 205.2 MB / 213.4 MB, free: 13.87 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.0008009/0.0008009, allocations: 96.2 kB / 261.4 MB, free: 13.56 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.1474/0.1474, allocations: 43.49 MB / 352.8 MB, free: 1.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.634e-06/7.654e-06, allocations: 4 kB / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1911, allocations: 58.84 MB / 476.6 MB, free: 5.312 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09588/0.287, allocations: 86.74 MB / 0.5501 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001675/0.2872, allocations: 67.97 kB / 0.5502 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01274/0.3, allocations: 5.133 MB / 0.5552 GB, free: 7.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.3, allocations: 4 kB / 0.5552 GB, free: 7.07 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003676/0.3004, allocations: 410 kB / 0.5556 GB, free: 6.625 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.918e-05/0.3004, allocations: 11.97 kB / 0.5556 GB, free: 6.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.099e-05/0.3005, allocations: 15.81 kB / 0.5556 GB, free: 6.598 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.3008, allocations: 226.7 kB / 0.5558 GB, free: 6.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3008, allocations: 4 kB / 0.5558 GB, free: 6.332 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.3008, allocations: 3.984 kB / 0.5558 GB, free: 6.328 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.037e-05/0.3009, allocations: 16 kB / 0.5558 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.246e-05/0.3009, allocations: 49.58 kB / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.301, allocations: 0 / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.301, allocations: 0 / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.301, allocations: 0 / 0.5559 GB, free: 6.258 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.3012, allocations: 166.2 kB / 0.556 GB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.3013, allocations: 54.56 kB / 0.5561 GB, free: 5.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.3013, allocations: 16.86 kB / 0.5561 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.3013, allocations: 0 / 0.5561 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.142e-05/0.3014, allocations: 63.39 kB / 0.5562 GB, free: 5.902 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.3014, allocations: 0 / 0.5562 GB, free: 5.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001491/0.3016, allocations: 69.59 kB / 0.5562 GB, free: 5.828 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.3016, allocations: 55.34 kB / 0.5563 GB, free: 5.762 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.3018, allocations: 233.6 kB / 0.5565 GB, free: 5.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3018, allocations: 29.7 kB / 0.5565 GB, free: 5.488 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.3019, allocations: 92.12 kB / 0.5566 GB, free: 5.395 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.3019, allocations: 11.89 kB / 0.5566 GB, free: 5.383 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.3019, allocations: 3.938 kB / 0.5567 GB, free: 5.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.302, allocations: 326.8 kB / 0.557 GB, free: 5.051 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.302, allocations: 12 kB / 0.557 GB, free: 5.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.971e-05/0.3021, allocations: 29.72 kB / 0.557 GB, free: 5.004 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.915e-05/0.3021, allocations: 15.98 kB / 0.557 GB, free: 4.988 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3021, allocations: 3.906 kB / 0.557 GB, free: 4.984 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001044/0.3022, allocations: 77.53 kB / 0.5571 GB, free: 4.902 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.679e-06/0.3022, allocations: 7.906 kB / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.3022, allocations: 0 / 0.5571 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.707e-06/0.3023, allocations: 4 kB / 0.5571 GB, free: 4.891 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.756e-05/0.3023, allocations: 11.98 kB / 0.5571 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-06/0.3023, allocations: 0 / 0.5571 GB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.85e-05/0.3024, allocations: 8.031 kB / 0.5571 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.3024, allocations: 0 / 0.5571 GB, free: 4.871 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 (7): * Single equations (assignments): 7 * 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.228e-05/0.3025, allocations: 105 kB / 0.5572 GB, free: 4.762 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.3025, allocations: 11.81 kB / 0.5572 GB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/0.3026, allocations: 90.77 kB / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3026, allocations: 192 / 0.5573 GB, free: 4.656 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3026, allocations: 4 kB / 0.5573 GB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3027, allocations: 7.922 kB / 0.5573 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.3028, allocations: 186.1 kB / 0.5575 GB, free: 4.426 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.3028, allocations: 4 kB / 0.5575 GB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.659e-05/0.3028, allocations: 4 kB / 0.5575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3028, allocations: 0 / 0.5575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3028, allocations: 0 / 0.5575 GB, free: 4.418 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3028, allocations: 7.891 kB / 0.5575 GB, free: 4.41 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.3029, allocations: 7.984 kB / 0.5575 GB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001171/0.303, allocations: 100.9 kB / 0.5576 GB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.303, allocations: 96.92 kB / 0.5577 GB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.3031, allocations: 11.92 kB / 0.5577 GB, free: 4.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.698e-05/0.3031, allocations: 4 kB / 0.5577 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.152e-05/0.3032, allocations: 0 / 0.5577 GB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3032, allocations: 4 kB / 0.5577 GB, free: 4.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001421/0.3033, allocations: 188.2 kB / 0.5579 GB, free: 3.969 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001992/0.3035, allocations: 27.98 kB / 0.5579 GB, free: 3.941 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: 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 (6): * Single equations (assignments): 4 * 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.0005245/0.3041, allocations: 310.8 kB / 0.5582 GB, free: 3.668 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.66e-05/0.3041, allocations: 35.94 kB / 0.5583 GB, free: 3.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.3042, allocations: 0 / 0.5583 GB, free: 3.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.028e-05/0.3042, allocations: 20 kB / 0.5583 GB, free: 3.613 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.3044, allocations: 35.17 kB / 0.5583 GB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.3048, allocations: 187.7 kB / 0.5585 GB, free: 3.367 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002985/0.3051, allocations: 0.7384 MB / 0.5592 GB, free: 2.605 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3051, allocations: 0 / 0.5592 GB, free: 2.605 MB / 394.7 MB Notification: Performance of Templates: time 0.003388/0.3085, allocations: 1.525 MB / 0.5607 GB, free: 1.09 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches