Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") [: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.001364/0.001364, allocations: 170.6 kB / 8.513 MB, free: 1.844 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.244/1.244, allocations: 221.4 MB / 230.3 MB, free: 7.719 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.0008489/0.0008489, allocations: 96.67 kB / 281.2 MB, free: 5.473 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.1769/0.1769, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.207e-06, allocations: 4.219 kB / 444 MB, free: 15.62 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1278, allocations: 61.92 MB / 0.4941 GB, free: 1.633 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3086/0.4365, allocations: 89.38 MB / 0.5814 GB, free: 7.516 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.4367, allocations: 71.97 kB / 0.5815 GB, free: 7.445 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.01177/0.4485, allocations: 4.001 MB / 0.5854 GB, free: 3.461 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.484e-05/0.4486, allocations: 4 kB / 0.5854 GB, free: 3.457 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005214/0.4491, allocations: 451.7 kB / 0.5858 GB, free: 2.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.4492, allocations: 15.97 kB / 0.5858 GB, free: 2.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.161e-05/0.4492, allocations: 15.81 kB / 0.5858 GB, free: 2.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.4495, allocations: 228 kB / 0.586 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4496, allocations: 0 / 0.586 GB, free: 2.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.4496, allocations: 8 kB / 0.5861 GB, free: 2.664 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/0.4497, allocations: 39.83 kB / 0.5861 GB, free: 2.625 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.4499, allocations: 88.25 kB / 0.5862 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4499, allocations: 0 / 0.5862 GB, free: 2.523 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.4499, allocations: 4 kB / 0.5862 GB, free: 2.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.4499, allocations: 4 kB / 0.5862 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.4506, allocations: 0.4897 MB / 0.5867 GB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002511/0.4508, allocations: 74.67 kB / 0.5867 GB, free: 1.898 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.076e-05/0.4509, allocations: 32.84 kB / 0.5868 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.4509, allocations: 0 / 0.5868 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.4511, allocations: 75.56 kB / 0.5868 GB, free: 1.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.645e-06/0.4511, allocations: 0 / 0.5868 GB, free: 1.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002384/0.4513, allocations: 102.1 kB / 0.5869 GB, free: 1.672 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.4514, allocations: 51.41 kB / 0.587 GB, free: 1.609 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.4515, allocations: 170.7 kB / 0.5871 GB, free: 1.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.4516, allocations: 25.7 kB / 0.5872 GB, free: 1.398 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.4516, allocations: 100 kB / 0.5873 GB, free: 1.297 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.4517, allocations: 27.56 kB / 0.5873 GB, free: 1.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.4517, allocations: 0 / 0.5873 GB, free: 1.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.4518, allocations: 334.9 kB / 0.5876 GB, free: 0.9336 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.025e-05/0.4519, allocations: 24.06 kB / 0.5876 GB, free: 0.9102 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.033e-05/0.4519, allocations: 52.3 kB / 0.5877 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.474e-05/0.452, allocations: 23.98 kB / 0.5877 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.452, allocations: 4 kB / 0.5877 GB, free: 0.8164 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001891/0.4522, allocations: 117.4 kB / 0.5878 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/0.4522, allocations: 4 kB / 0.5878 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.4522, allocations: 4 kB / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.4523, allocations: 0 / 0.5878 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4524, allocations: 27.92 kB / 0.5879 GB, free: 0.6602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.4524, allocations: 3.906 kB / 0.5879 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.4525, allocations: 20.05 kB / 0.5879 GB, free: 0.6367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.4525, allocations: 8 kB / 0.5879 GB, free: 0.6289 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.54e-05/0.4526, allocations: 111.4 kB / 0.588 GB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.4526, allocations: 7.906 kB / 0.588 GB, free: 0.5078 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.4528, allocations: 110.9 kB / 0.5881 GB, free: 400 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4528, allocations: 4 kB / 0.5881 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4529, allocations: 0 / 0.5881 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4529, allocations: 0 / 0.5881 GB, free: 396 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.453, allocations: 182.2 kB / 0.5883 GB, free: 176 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.453, allocations: 4 kB / 0.5883 GB, free: 172 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.4531, allocations: 23.83 kB / 0.5883 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.4531, allocations: 0 / 0.5883 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.4532, allocations: 4 kB / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4532, allocations: 0 / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4532, allocations: 192 / 0.5883 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000285/0.4535, allocations: 168.9 kB / 0.5885 GB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.4535, allocations: 96.75 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.75e-05/0.4536, allocations: 0 / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.4537, allocations: 7.984 kB / 0.5886 GB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.807e-05/0.4537, allocations: 7.984 kB / 0.5886 GB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4537, allocations: 8 kB / 0.5886 GB, free: 15.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001131/0.4538, allocations: 128.1 kB / 0.5887 GB, free: 15.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.4541, allocations: 39.83 kB / 0.5888 GB, free: 15.66 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0006877/0.4548, allocations: 310.2 kB / 0.5891 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001459/0.4549, allocations: 63.97 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.4549, allocations: 4 kB / 0.5891 GB, free: 15.36 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/0.455, allocations: 31.98 kB / 0.5891 GB, free: 15.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.4553, allocations: 32.42 kB / 0.5892 GB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004322/0.4557, allocations: 187.5 kB / 0.5894 GB, free: 15.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003965/0.4561, allocations: 0.7313 MB / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of SimCode: time 3e-07/0.4562, allocations: 0 / 0.5901 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Templates: time 0.004426/0.4606, allocations: 1.789 MB / 0.5918 GB, free: 12.55 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches