Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") [: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.0009531/0.0009531, allocations: 179.3 kB / 8.519 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.266/1.266, allocations: 221.4 MB / 230.3 MB, free: 7.691 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.001295/0.001295, allocations: 85.86 kB / 281.2 MB, free: 5.512 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.1642/0.1642, allocations: 44.14 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 7.024e-06/7.054e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 61.91 MB / 0.4941 GB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/0.3692, allocations: 88.44 MB / 0.5805 GB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001877/0.3694, allocations: 67.97 kB / 0.5805 GB, free: 8.371 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01386/0.3833, allocations: 5.032 MB / 0.5854 GB, free: 3.355 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3833, allocations: 8 kB / 0.5855 GB, free: 3.348 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.0004136/0.3837, allocations: 402 kB / 0.5858 GB, free: 2.91 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.3838, allocations: 13.22 kB / 0.5858 GB, free: 2.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.3838, allocations: 11.91 kB / 0.5859 GB, free: 2.887 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002768/0.3841, allocations: 208.4 kB / 0.5861 GB, free: 2.645 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3842, allocations: 7.938 kB / 0.5861 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.3842, allocations: 7.938 kB / 0.5861 GB, free: 2.629 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.97e-05/0.3843, allocations: 16 kB / 0.5861 GB, free: 2.613 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.955e-05/0.3843, allocations: 49.67 kB / 0.5861 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.3844, allocations: 0 / 0.5861 GB, free: 2.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-06/0.3844, allocations: 3.938 kB / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.3844, allocations: 0 / 0.5861 GB, free: 2.555 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.3847, allocations: 269.4 kB / 0.5864 GB, free: 2.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.674e-05/0.3848, allocations: 58.62 kB / 0.5865 GB, free: 2.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.495e-05/0.3849, allocations: 16.98 kB / 0.5865 GB, free: 2.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3849, allocations: 3.984 kB / 0.5865 GB, free: 2.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.557e-05/0.385, allocations: 63.41 kB / 0.5865 GB, free: 2.09 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.385, allocations: 0 / 0.5865 GB, free: 2.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003946/0.3854, allocations: 133.2 kB / 0.5867 GB, free: 1.953 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.3854, allocations: 59.41 kB / 0.5867 GB, free: 1.883 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3856, allocations: 156.2 kB / 0.5869 GB, free: 1.727 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.3856, allocations: 25.7 kB / 0.5869 GB, free: 1.695 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.3857, allocations: 96.03 kB / 0.587 GB, free: 1.598 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.3857, allocations: 23.66 kB / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.3857, allocations: 0 / 0.587 GB, free: 1.574 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3858, allocations: 318.8 kB / 0.5873 GB, free: 1.254 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.3859, allocations: 16 kB / 0.5873 GB, free: 1.238 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.704e-05/0.3859, allocations: 37.7 kB / 0.5874 GB, free: 1.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.752e-05/0.386, allocations: 20 kB / 0.5874 GB, free: 1.176 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.386, allocations: 0 / 0.5874 GB, free: 1.176 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001501/0.3861, allocations: 97.5 kB / 0.5875 GB, free: 1.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3862, allocations: 9.094 kB / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3862, allocations: 0 / 0.5875 GB, free: 1.062 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.3862, allocations: 3.906 kB / 0.5875 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.3863, allocations: 12 kB / 0.5875 GB, free: 1.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.621e-06/0.3863, allocations: 7.984 kB / 0.5875 GB, free: 1.039 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.783e-05/0.3864, allocations: 4.031 kB / 0.5875 GB, free: 1.035 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.3864, allocations: 4 kB / 0.5875 GB, free: 1.031 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.307e-05/0.3865, allocations: 108.9 kB / 0.5876 GB, free: 0.918 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.3865, allocations: 11.81 kB / 0.5876 GB, free: 0.9062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/0.3867, allocations: 102.3 kB / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.698e-06/0.3867, allocations: 0 / 0.5877 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3867, allocations: 3.938 kB / 0.5877 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3868, allocations: 4 kB / 0.5877 GB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.3871, allocations: 359.9 kB / 0.5881 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3871, allocations: 0 / 0.5881 GB, free: 404 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.3872, allocations: 15.88 kB / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3872, allocations: 0 / 0.5881 GB, free: 388 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.512e-05/0.3872, allocations: 7.984 kB / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3872, allocations: 0 / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3872, allocations: 0 / 0.5881 GB, free: 380 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001849/0.3874, allocations: 209.9 kB / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.266e-05/0.3875, allocations: 96.91 kB / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.3875, allocations: 0 / 0.5884 GB, free: 28 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.3876, allocations: 7.984 kB / 0.5884 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.3876, allocations: 7.984 kB / 0.5884 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.3877, allocations: 4 kB / 0.5884 GB, free: 8 kB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001075/0.3878, allocations: 135.4 kB / 0.5885 GB, free: 15.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.3881, allocations: 27.94 kB / 0.5886 GB, free: 15.85 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.0006747/0.3888, allocations: 342.4 kB / 0.5889 GB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001166/0.3889, allocations: 63.92 kB / 0.589 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.389, allocations: 0 / 0.589 GB, free: 15.53 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.901e-05/0.389, allocations: 31.94 kB / 0.589 GB, free: 15.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.3893, allocations: 19.89 kB / 0.589 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.3896, allocations: 144.5 kB / 0.5891 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000266/0.3899, allocations: 0.731 MB / 0.5899 GB, free: 14.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3899, allocations: 0 / 0.5899 GB, free: 14.55 MB / 410.7 MB Notification: Performance of Templates: time 0.003758/0.3936, allocations: 1.607 MB / 0.5914 GB, free: 12.95 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches