Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 179.6 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.229/1.229, allocations: 221.4 MB / 236 MB, free: 2.945 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.0008227/0.0008228, allocations: 88.03 kB / 287 MB, free: 232 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1844/0.1844, allocations: 44.15 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.107e-05, allocations: 4 kB / 451.8 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 61.92 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3621/0.4738, allocations: 89.24 MB / 0.5889 GB, free: 40 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4741, allocations: 72.05 kB / 0.5889 GB, free: 15.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01439/0.4885, allocations: 5.862 MB / 0.5947 GB, free: 10.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4886, allocations: 0 / 0.5947 GB, free: 10.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.4886, allocations: 0 / 0.5947 GB, free: 10.12 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004797/0.4891, allocations: 438.1 kB / 0.5951 GB, free: 9.652 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.4891, allocations: 12.03 kB / 0.5951 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.753e-05/0.4892, allocations: 11.81 kB / 0.5951 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.4895, allocations: 246.4 kB / 0.5953 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.4896, allocations: 7.953 kB / 0.5953 GB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.4896, allocations: 7.938 kB / 0.5953 GB, free: 9.332 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/0.4898, allocations: 105 kB / 0.5954 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.4898, allocations: 0 / 0.5954 GB, free: 9.211 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.4898, allocations: 7.984 kB / 0.5955 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4898, allocations: 0 / 0.5955 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.159e-05/0.4899, allocations: 27.98 kB / 0.5955 GB, free: 9.176 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.4901, allocations: 210.6 kB / 0.5957 GB, free: 8.918 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.4903, allocations: 105.3 kB / 0.5958 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.875e-05/0.4904, allocations: 41.75 kB / 0.5958 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.4904, allocations: 0 / 0.5958 GB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.4906, allocations: 109 kB / 0.5959 GB, free: 8.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.4906, allocations: 0 / 0.5959 GB, free: 8.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002708/0.4908, allocations: 137.5 kB / 0.5961 GB, free: 8.484 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.4909, allocations: 132.5 kB / 0.5962 GB, free: 8.324 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/0.4911, allocations: 195.1 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4911, allocations: 33.7 kB / 0.5964 GB, free: 8.086 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.4912, allocations: 108.1 kB / 0.5965 GB, free: 7.977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.981e-05/0.4912, allocations: 39.53 kB / 0.5965 GB, free: 7.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.4913, allocations: 8 kB / 0.5966 GB, free: 7.93 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.4914, allocations: 326.8 kB / 0.5969 GB, free: 7.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.972e-05/0.4914, allocations: 27.98 kB / 0.5969 GB, free: 7.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.682e-05/0.4915, allocations: 65.16 kB / 0.597 GB, free: 7.492 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.2e-05/0.4916, allocations: 39.94 kB / 0.597 GB, free: 7.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4916, allocations: 0 / 0.597 GB, free: 7.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001833/0.4918, allocations: 133.4 kB / 0.5971 GB, free: 7.316 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.4918, allocations: 4 kB / 0.5971 GB, free: 7.312 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4918, allocations: 4 kB / 0.5971 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4918, allocations: 0 / 0.5971 GB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.4919, allocations: 31.86 kB / 0.5972 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4919, allocations: 0 / 0.5972 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.642e-05/0.492, allocations: 12.06 kB / 0.5972 GB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.492, allocations: 4 kB / 0.5972 GB, free: 7.262 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (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 8.132e-05/0.4921, allocations: 124.9 kB / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.886e-05/0.4922, allocations: 19.77 kB / 0.5973 GB, free: 7.113 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.4924, allocations: 154.5 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4924, allocations: 0 / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.4924, allocations: 3.938 kB / 0.5975 GB, free: 6.945 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.4924, allocations: 4 kB / 0.5975 GB, free: 6.941 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000168/0.4926, allocations: 221.9 kB / 0.5977 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.4926, allocations: 4 kB / 0.5977 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.4927, allocations: 19.92 kB / 0.5977 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4927, allocations: 0 / 0.5977 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4927, allocations: 7.953 kB / 0.5977 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.4927, allocations: 4 kB / 0.5977 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4927, allocations: 0 / 0.5977 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.4929, allocations: 179.4 kB / 0.5979 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.493, allocations: 104.9 kB / 0.598 GB, free: 6.316 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.138e-05/0.4931, allocations: 11.98 kB / 0.598 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.783e-05/0.4931, allocations: 4 kB / 0.598 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.033e-05/0.4932, allocations: 11.98 kB / 0.598 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.4932, allocations: 4 kB / 0.598 GB, free: 6.285 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001324/0.4933, allocations: 161.5 kB / 0.5982 GB, free: 6.129 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.372e-06/0.4933, allocations: 0 / 0.5982 GB, free: 6.129 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002263/0.4936, allocations: 55.86 kB / 0.5982 GB, free: 6.074 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008582/0.4944, allocations: 412.9 kB / 0.5986 GB, free: 5.777 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001634/0.4946, allocations: 83.86 kB / 0.5987 GB, free: 5.695 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4946, allocations: 4.125 kB / 0.5987 GB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.257e-05/0.4947, allocations: 48.3 kB / 0.5987 GB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.495, allocations: 48.98 kB / 0.5988 GB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003626/0.4953, allocations: 192 kB / 0.599 GB, free: 5.391 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4956, allocations: 0.7283 MB / 0.5997 GB, free: 4.637 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.951e-05/0.4957, allocations: 21.33 kB / 0.5997 GB, free: 4.613 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.138e-05/0.4957, allocations: 23.42 kB / 0.5997 GB, free: 4.59 MB / 410.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4957, allocations: 3.938 kB / 0.5997 GB, free: 4.586 MB / 410.7 MB Notification: Performance of Templates: time 0.004939/0.5007, allocations: 2.549 MB / 0.6022 GB, free: 2.055 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches