Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 221.5 MB / 230.7 MB, free: 7.523 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.0008191/0.0008192, allocations: 85.86 kB / 281.6 MB, free: 5.262 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.2009/0.2009, allocations: 44.15 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.644e-05, allocations: 4.219 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1569, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5944, allocations: 88.52 MB / 0.5811 GB, free: 7.969 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.5947, allocations: 71.97 kB / 0.5812 GB, free: 7.898 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01433/0.609, allocations: 5.341 MB / 0.5864 GB, free: 2.566 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.478e-06/0.6091, allocations: 4 kB / 0.5864 GB, free: 2.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.6091, allocations: 10.89 kB / 0.5864 GB, free: 2.555 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.0005279/0.6096, allocations: 378.3 kB / 0.5868 GB, free: 2.141 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.515e-05/0.6097, allocations: 11.98 kB / 0.5868 GB, free: 2.129 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.6097, allocations: 15.89 kB / 0.5868 GB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003572/0.6101, allocations: 210 kB / 0.587 GB, free: 1.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.074e-05/0.6101, allocations: 3.953 kB / 0.587 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.6102, allocations: 0 / 0.587 GB, free: 1.863 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.845e-05/0.6103, allocations: 27.98 kB / 0.587 GB, free: 1.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.6104, allocations: 49.67 kB / 0.5871 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.6104, allocations: 0 / 0.5871 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.6104, allocations: 0 / 0.5871 GB, free: 1.781 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6104, allocations: 3.938 kB / 0.5871 GB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004334/0.6109, allocations: 269.4 kB / 0.5873 GB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.611, allocations: 54.62 kB / 0.5874 GB, free: 1.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.739e-05/0.6111, allocations: 16.98 kB / 0.5874 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.6111, allocations: 0 / 0.5874 GB, free: 1.395 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001229/0.6112, allocations: 63.39 kB / 0.5875 GB, free: 1.32 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.6112, allocations: 0 / 0.5875 GB, free: 1.32 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004557/0.6117, allocations: 145.2 kB / 0.5876 GB, free: 1.172 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.941e-05/0.6117, allocations: 51.41 kB / 0.5877 GB, free: 1.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.6119, allocations: 146.1 kB / 0.5878 GB, free: 0.9531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.6119, allocations: 29.7 kB / 0.5878 GB, free: 0.918 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.406e-05/0.6119, allocations: 92.14 kB / 0.5879 GB, free: 0.8242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.659e-05/0.612, allocations: 23.7 kB / 0.5879 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.612, allocations: 0 / 0.5879 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6121, allocations: 323.6 kB / 0.5882 GB, free: 488 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.6121, allocations: 20 kB / 0.5883 GB, free: 468 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.181e-05/0.6122, allocations: 29.72 kB / 0.5883 GB, free: 432 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.425e-05/0.6122, allocations: 32.06 kB / 0.5883 GB, free: 400 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.6123, allocations: 0 / 0.5883 GB, free: 400 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000132/0.6124, allocations: 97.58 kB / 0.5884 GB, free: 296 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.6124, allocations: 4 kB / 0.5884 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.6124, allocations: 0 / 0.5884 GB, free: 292 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.6124, allocations: 8.172 kB / 0.5884 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.6125, allocations: 16 kB / 0.5884 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.6126, allocations: 3.938 kB / 0.5884 GB, free: 264 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.6126, allocations: 11.94 kB / 0.5885 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.6126, allocations: 4 kB / 0.5885 GB, free: 248 kB / 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.363e-05/0.6127, allocations: 108.9 kB / 0.5886 GB, free: 132 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.124e-05/0.6127, allocations: 11.91 kB / 0.5886 GB, free: 120 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.613, allocations: 114.1 kB / 0.5887 GB, free: 0 / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.613, allocations: 0 / 0.5887 GB, free: 0 / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.613, allocations: 4.047 kB / 0.5887 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.613, allocations: 0 / 0.5887 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003617/0.6134, allocations: 371.8 kB / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.6134, allocations: 0 / 0.589 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.6134, allocations: 8 kB / 0.5891 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.6134, allocations: 7.938 kB / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6135, allocations: 0 / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.6135, allocations: 0 / 0.5891 GB, free: 15.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.6135, allocations: 7.984 kB / 0.5891 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.6137, allocations: 217.8 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.6137, allocations: 89.02 kB / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/0.6138, allocations: 0 / 0.5894 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.6139, allocations: 7.984 kB / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.6139, allocations: 0 / 0.5894 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.6139, allocations: 8 kB / 0.5894 GB, free: 15.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.621e-05/0.614, allocations: 122.2 kB / 0.5895 GB, free: 15.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.614, allocations: 4 kB / 0.5895 GB, free: 15.08 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002684/0.6143, allocations: 28 kB / 0.5895 GB, free: 15.05 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.0008557/0.6151, allocations: 385 kB / 0.5899 GB, free: 14.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001273/0.6153, allocations: 55.92 kB / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6153, allocations: 0 / 0.5899 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.823e-05/0.6153, allocations: 24 kB / 0.59 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.6156, allocations: 27.94 kB / 0.59 GB, free: 14.65 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003201/0.616, allocations: 145.9 kB / 0.5901 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.6162, allocations: 0.7002 MB / 0.5908 GB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.646e-05/0.6163, allocations: 28.77 kB / 0.5908 GB, free: 13.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.588e-05/0.6163, allocations: 19.38 kB / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.6163, allocations: 0 / 0.5909 GB, free: 13.71 MB / 410.7 MB Notification: Performance of Templates: time 0.003839/0.6202, allocations: 1.586 MB / 0.5924 GB, free: 12.13 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches