Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009937/0.0009937, allocations: 180.1 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.243/1.243, allocations: 221.3 MB / 236 MB, free: 2.934 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.0007959/0.0007959, allocations: 95.73 kB / 287 MB, free: 212 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.172/0.172, allocations: 44.15 MB / 382 MB, free: 14.7 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.321e-05/4.324e-05, allocations: 4.219 kB / 451.8 MB, free: 9.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 61.91 MB / 0.5017 GB, free: 11.47 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/0.4748, allocations: 89.22 MB / 0.5888 GB, free: 128 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001815/0.4751, allocations: 71.95 kB / 0.5889 GB, free: 56 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01424/0.4893, allocations: 5.583 MB / 0.5944 GB, free: 10.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4893, allocations: 0 / 0.5944 GB, free: 10.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.4894, allocations: 0 / 0.5944 GB, free: 10.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003752/0.4897, allocations: 394.3 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4898, allocations: 8.031 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.4898, allocations: 11.84 kB / 0.5948 GB, free: 10.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.4901, allocations: 210.8 kB / 0.595 GB, free: 9.789 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.4901, allocations: 11.95 kB / 0.595 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.4902, allocations: 4 kB / 0.595 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.4903, allocations: 53.67 kB / 0.595 GB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4903, allocations: 4 kB / 0.595 GB, free: 9.711 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.4903, allocations: 3.938 kB / 0.595 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.4903, allocations: 0 / 0.595 GB, free: 9.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.4904, allocations: 23.92 kB / 0.5951 GB, free: 9.684 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003478/0.4907, allocations: 284.9 kB / 0.5953 GB, free: 9.355 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.4909, allocations: 62.62 kB / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.914e-05/0.4909, allocations: 16.98 kB / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.4909, allocations: 0 / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001303/0.4911, allocations: 67.39 kB / 0.5955 GB, free: 9.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.4911, allocations: 0 / 0.5955 GB, free: 9.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004148/0.4915, allocations: 165.1 kB / 0.5956 GB, free: 9.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.4916, allocations: 55.41 kB / 0.5957 GB, free: 8.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4917, allocations: 165.4 kB / 0.5958 GB, free: 8.785 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.4917, allocations: 29.7 kB / 0.5959 GB, free: 8.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/0.4918, allocations: 100.1 kB / 0.596 GB, free: 8.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.4918, allocations: 23.7 kB / 0.596 GB, free: 8.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.4918, allocations: 0 / 0.596 GB, free: 8.625 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.4919, allocations: 326.8 kB / 0.5963 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.492, allocations: 20 kB / 0.5963 GB, free: 8.277 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.492, allocations: 41.7 kB / 0.5963 GB, free: 8.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.354e-05/0.4921, allocations: 23.94 kB / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.4921, allocations: 0 / 0.5964 GB, free: 8.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001412/0.4922, allocations: 97.48 kB / 0.5965 GB, free: 8.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.4923, allocations: 8 kB / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.4923, allocations: 0 / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.4923, allocations: 0 / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.4924, allocations: 19.92 kB / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.4924, allocations: 8.031 kB / 0.5965 GB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.4925, allocations: 3.938 kB / 0.5965 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.148e-06/0.4925, allocations: 4 kB / 0.5965 GB, free: 8.062 MB / 410.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.379e-05/0.4925, allocations: 112.9 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.4926, allocations: 8.094 kB / 0.5966 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002024/0.4928, allocations: 122.2 kB / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4928, allocations: 0 / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4928, allocations: 0 / 0.5967 GB, free: 7.816 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4928, allocations: 7.984 kB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003762/0.4932, allocations: 411.2 kB / 0.5971 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4932, allocations: 0 / 0.5971 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.432e-05/0.4933, allocations: 15.98 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.4933, allocations: 3.938 kB / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.4933, allocations: 0 / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.4933, allocations: 4 kB / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4933, allocations: 0 / 0.5972 GB, free: 7.324 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.4935, allocations: 221.9 kB / 0.5974 GB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.134e-05/0.4935, allocations: 89 kB / 0.5975 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.423e-05/0.4936, allocations: 8 kB / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.004e-05/0.4937, allocations: 0 / 0.5975 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.71e-05/0.4937, allocations: 15.88 kB / 0.5975 GB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.4937, allocations: 4 kB / 0.5975 GB, free: 6.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.4938, allocations: 148.9 kB / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4938, allocations: 0 / 0.5976 GB, free: 6.805 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000242/0.4941, allocations: 28 kB / 0.5977 GB, free: 6.777 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.0009071/0.495, allocations: 441.5 kB / 0.5981 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001332/0.4951, allocations: 59.92 kB / 0.5981 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4951, allocations: 0 / 0.5981 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.56e-05/0.4952, allocations: 27.94 kB / 0.5982 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.4955, allocations: 31.83 kB / 0.5982 GB, free: 6.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003086/0.4958, allocations: 158.9 kB / 0.5983 GB, free: 6.152 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.496, allocations: 0.7123 MB / 0.599 GB, free: 5.414 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.831e-05/0.4961, allocations: 12.42 kB / 0.599 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.4961, allocations: 23.42 kB / 0.5991 GB, free: 5.379 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4961, allocations: 0 / 0.5991 GB, free: 5.379 MB / 410.7 MB Notification: Performance of Templates: time 0.003615/0.4997, allocations: 1.69 MB / 0.6007 GB, free: 3.703 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches