Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19") [: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 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 183.1 kB / 8.52 MB, free: 1.859 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.4 MB / 230.3 MB, free: 7.621 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008405/0.0008405, allocations: 90.53 kB / 281.2 MB, free: 5.449 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1647/0.1647, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.025e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 61.92 MB / 0.4941 GB, free: 1.613 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/0.4348, allocations: 88.44 MB / 0.5805 GB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4351, allocations: 75.95 kB / 0.5805 GB, free: 8.363 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01437/0.4495, allocations: 5.078 MB / 0.5855 GB, free: 3.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.4496, allocations: 4 kB / 0.5855 GB, free: 3.289 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.0003915/0.45, allocations: 386.1 kB / 0.5859 GB, free: 2.867 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.45, allocations: 17.22 kB / 0.5859 GB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.164e-05/0.4501, allocations: 11.89 kB / 0.5859 GB, free: 2.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.4504, allocations: 214.7 kB / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.4504, allocations: 0 / 0.5861 GB, free: 2.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.4504, allocations: 8 kB / 0.5861 GB, free: 2.582 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.149e-05/0.4505, allocations: 19.98 kB / 0.5861 GB, free: 2.562 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.731e-05/0.4506, allocations: 49.67 kB / 0.5862 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4506, allocations: 0 / 0.5862 GB, free: 2.508 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4506, allocations: 7.906 kB / 0.5862 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4506, allocations: 0 / 0.5862 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.4509, allocations: 273.4 kB / 0.5864 GB, free: 2.195 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.451, allocations: 54.67 kB / 0.5865 GB, free: 2.133 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.562e-05/0.4511, allocations: 24.89 kB / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.4511, allocations: 0 / 0.5865 GB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.935e-05/0.4512, allocations: 59.39 kB / 0.5866 GB, free: 2.035 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.4512, allocations: 0 / 0.5866 GB, free: 2.035 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004118/0.4516, allocations: 137.2 kB / 0.5867 GB, free: 1.895 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.4516, allocations: 59.41 kB / 0.5868 GB, free: 1.824 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.4518, allocations: 157.4 kB / 0.5869 GB, free: 1.664 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.4518, allocations: 29.7 kB / 0.5869 GB, free: 1.629 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.112e-05/0.4518, allocations: 88.12 kB / 0.587 GB, free: 1.539 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.4519, allocations: 23.66 kB / 0.5871 GB, free: 1.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.4519, allocations: 0 / 0.5871 GB, free: 1.516 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.818e-05/0.452, allocations: 322.8 kB / 0.5874 GB, free: 1.191 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.452, allocations: 20 kB / 0.5874 GB, free: 1.172 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.4521, allocations: 37.7 kB / 0.5874 GB, free: 1.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.175e-05/0.4521, allocations: 28 kB / 0.5874 GB, free: 1.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.4521, allocations: 0 / 0.5874 GB, free: 1.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001355/0.4523, allocations: 93.47 kB / 0.5875 GB, free: 1.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4523, allocations: 8 kB / 0.5875 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.4523, allocations: 0 / 0.5875 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.4523, allocations: 192 / 0.5875 GB, free: 0.9961 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.072e-05/0.4524, allocations: 19.98 kB / 0.5876 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4524, allocations: 8.156 kB / 0.5876 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.759e-05/0.4525, allocations: 4 kB / 0.5876 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.4525, allocations: 11.94 kB / 0.5876 GB, free: 0.9531 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 6.08e-05/0.4526, allocations: 108.9 kB / 0.5877 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.962e-05/0.4526, allocations: 7.906 kB / 0.5877 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001909/0.4528, allocations: 106 kB / 0.5878 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4528, allocations: 0 / 0.5878 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.4528, allocations: 0 / 0.5878 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4528, allocations: 4 kB / 0.5878 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000343/0.4532, allocations: 363.8 kB / 0.5881 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4532, allocations: 4 kB / 0.5881 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.335e-05/0.4532, allocations: 11.98 kB / 0.5882 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4532, allocations: 0 / 0.5882 GB, free: 308 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.4532, allocations: 3.938 kB / 0.5882 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.4533, allocations: 4 kB / 0.5882 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.4533, allocations: 0 / 0.5882 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001696/0.4534, allocations: 209.9 kB / 0.5884 GB, free: 64 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.592e-05/0.4535, allocations: 100.9 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.4535, allocations: 0 / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.4536, allocations: 4 kB / 0.5885 GB, free: 15.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.4537, allocations: 7.984 kB / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.4537, allocations: 0 / 0.5885 GB, free: 15.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001288/0.4538, allocations: 145.1 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.4541, allocations: 28 kB / 0.5886 GB, free: 15.77 MB / 410.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.0006933/0.4548, allocations: 344.6 kB / 0.589 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.4549, allocations: 55.98 kB / 0.589 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.4549, allocations: 0 / 0.589 GB, free: 15.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.053e-05/0.455, allocations: 27.94 kB / 0.589 GB, free: 15.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.4553, allocations: 26.42 kB / 0.5891 GB, free: 15.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003686/0.4556, allocations: 156.5 kB / 0.5892 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002798/0.4559, allocations: 0.7349 MB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4559, allocations: 3.938 kB / 0.5899 GB, free: 14.45 MB / 410.7 MB Notification: Performance of Templates: time 0.004245/0.4602, allocations: 1.639 MB / 0.5915 GB, free: 12.82 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches