Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") [: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.001448/0.001448, allocations: 178.8 kB / 8.52 MB, free: 1.836 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.197/1.197, allocations: 221.4 MB / 230.3 MB, free: 7.613 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.0008976/0.0008976, allocations: 89.86 kB / 281.2 MB, free: 5.445 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.1631/0.1631, allocations: 44.14 MB / 376.1 MB, free: 3.219 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.546e-06/8.576e-06, allocations: 4.219 kB / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1231, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3102/0.4333, allocations: 88.49 MB / 0.5805 GB, free: 8.391 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002215/0.4336, allocations: 71.95 kB / 0.5806 GB, free: 8.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0148/0.4484, allocations: 5.187 MB / 0.5856 GB, free: 3.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.4485, allocations: 4 kB / 0.5856 GB, free: 3.145 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.0004232/0.4489, allocations: 390.1 kB / 0.586 GB, free: 2.719 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4489, allocations: 17.22 kB / 0.586 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.449, allocations: 8.656 kB / 0.586 GB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.4493, allocations: 222.7 kB / 0.5863 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.4494, allocations: 0 / 0.5863 GB, free: 2.438 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.271e-05/0.4494, allocations: 8 kB / 0.5863 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.865e-05/0.4495, allocations: 12 kB / 0.5863 GB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.044e-05/0.4496, allocations: 49.67 kB / 0.5863 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4496, allocations: 0 / 0.5863 GB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4496, allocations: 7.844 kB / 0.5863 GB, free: 2.355 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-06/0.4496, allocations: 7.938 kB / 0.5863 GB, free: 2.348 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003725/0.45, allocations: 269.5 kB / 0.5866 GB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.4501, allocations: 50.69 kB / 0.5866 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.221e-05/0.4502, allocations: 20.89 kB / 0.5867 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.4502, allocations: 0 / 0.5867 GB, free: 1.965 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.224e-05/0.4503, allocations: 67.33 kB / 0.5867 GB, free: 1.887 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.4503, allocations: 4 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004254/0.4508, allocations: 129.2 kB / 0.5869 GB, free: 1.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.223e-05/0.4508, allocations: 55.41 kB / 0.5869 GB, free: 1.684 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.451, allocations: 157.4 kB / 0.5871 GB, free: 1.523 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.451, allocations: 25.7 kB / 0.5871 GB, free: 1.492 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.451, allocations: 92.12 kB / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.4511, allocations: 19.72 kB / 0.5872 GB, free: 1.379 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-06/0.4511, allocations: 0 / 0.5872 GB, free: 1.379 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001709/0.4513, allocations: 330.8 kB / 0.5875 GB, free: 1.047 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.643e-05/0.4513, allocations: 19.98 kB / 0.5875 GB, free: 1.027 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.687e-05/0.4514, allocations: 33.66 kB / 0.5876 GB, free: 0.9883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.524e-05/0.4514, allocations: 24.05 kB / 0.5876 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.4514, allocations: 4 kB / 0.5876 GB, free: 0.9609 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001405/0.4516, allocations: 89.48 kB / 0.5877 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4516, allocations: 8 kB / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4516, allocations: 0 / 0.5877 GB, free: 0.8594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.4516, allocations: 4.031 kB / 0.5877 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.4517, allocations: 24.11 kB / 0.5877 GB, free: 0.832 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4518, allocations: 4 kB / 0.5877 GB, free: 0.8281 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.4518, allocations: 7.938 kB / 0.5877 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.4518, allocations: 4 kB / 0.5877 GB, free: 0.8164 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 7.935e-05/0.4519, allocations: 111.7 kB / 0.5878 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.4519, allocations: 11.91 kB / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.4522, allocations: 110 kB / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4522, allocations: 0 / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.4522, allocations: 288 / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4522, allocations: 0 / 0.5879 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003906/0.4526, allocations: 371.8 kB / 0.5883 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4526, allocations: 3.938 kB / 0.5883 GB, free: 168 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.197e-05/0.4526, allocations: 12 kB / 0.5883 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4527, allocations: 0 / 0.5883 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.4527, allocations: 3.938 kB / 0.5883 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.4527, allocations: 8.031 kB / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4527, allocations: 0 / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001963/0.4529, allocations: 202 kB / 0.5885 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.755e-05/0.453, allocations: 100.9 kB / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.453, allocations: 0 / 0.5886 GB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.4531, allocations: 8 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.4531, allocations: 7.984 kB / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.4532, allocations: 0 / 0.5886 GB, free: 15.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.000112/0.4533, allocations: 141 kB / 0.5888 GB, free: 15.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002851/0.4536, allocations: 28 kB / 0.5888 GB, free: 15.62 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.0008197/0.4544, allocations: 355 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.4546, allocations: 55.92 kB / 0.5892 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4546, allocations: 0 / 0.5892 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.883e-05/0.4546, allocations: 28 kB / 0.5892 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.4549, allocations: 23.98 kB / 0.5892 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004147/0.4553, allocations: 164.5 kB / 0.5894 GB, free: 15.05 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003913/0.4557, allocations: 0.727 MB / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4558, allocations: 0 / 0.5901 GB, free: 14.3 MB / 410.7 MB Notification: Performance of Templates: time 0.004297/0.4601, allocations: 1.634 MB / 0.5917 GB, free: 12.68 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches