Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009942/0.0009942, allocations: 183.5 kB / 18.09 MB, free: 3.621 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.245/1.245, allocations: 223.3 MB / 242.1 MB, free: 11.67 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007778/0.0007778, allocations: 93.09 kB / 293.3 MB, free: 10.76 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.2884/0.2884, allocations: 44.15 MB / 388.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2776, allocations: 61.88 MB / 0.5107 GB, free: 38.08 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1014/0.3791, allocations: 89.28 MB / 0.5979 GB, free: 5.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.3794, allocations: 75.95 kB / 0.598 GB, free: 5.703 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.3939, allocations: 5.499 MB / 0.6034 GB, free: 208 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.3939, allocations: 0 / 0.6034 GB, free: 208 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.394, allocations: 3.938 kB / 0.6034 GB, free: 204 kB / 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.0005446/0.3945, allocations: 419 kB / 0.6038 GB, free: 15.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.3946, allocations: 8.031 kB / 0.6038 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.86e-05/0.3946, allocations: 12.84 kB / 0.6038 GB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.3949, allocations: 221 kB / 0.604 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/0.395, allocations: 4.375 kB / 0.604 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.395, allocations: 4.375 kB / 0.604 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.3951, allocations: 54.23 kB / 0.6041 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3951, allocations: 4.188 kB / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.3952, allocations: 7.922 kB / 0.6041 GB, free: 15.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3952, allocations: 4 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.786e-05/0.3953, allocations: 23.92 kB / 0.6041 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.3957, allocations: 281 kB / 0.6044 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.3958, allocations: 66.55 kB / 0.6044 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.439e-05/0.3959, allocations: 24.84 kB / 0.6044 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.3959, allocations: 0 / 0.6044 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.3961, allocations: 71.33 kB / 0.6045 GB, free: 14.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3961, allocations: 0 / 0.6045 GB, free: 14.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005123/0.3966, allocations: 177.2 kB / 0.6047 GB, free: 14.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3966, allocations: 55.41 kB / 0.6047 GB, free: 14.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3968, allocations: 188 kB / 0.6049 GB, free: 14.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3968, allocations: 29.7 kB / 0.6049 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.3969, allocations: 100.1 kB / 0.605 GB, free: 14.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.3969, allocations: 23.66 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.3969, allocations: 0 / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3971, allocations: 326.8 kB / 0.6054 GB, free: 13.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.3971, allocations: 23.98 kB / 0.6054 GB, free: 13.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.27e-05/0.3972, allocations: 37.7 kB / 0.6054 GB, free: 13.86 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.3973, allocations: 65.83 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3973, allocations: 0 / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.3975, allocations: 97.48 kB / 0.6056 GB, free: 13.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3975, allocations: 8 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.147e-06/0.3975, allocations: 4.312 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.3976, allocations: 0 / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.656e-05/0.3977, allocations: 20.02 kB / 0.6056 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3977, allocations: 12 kB / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.392e-05/0.3977, allocations: 0 / 0.6056 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.3977, allocations: 4 kB / 0.6056 GB, free: 13.64 MB / 426.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 () * Number of clocked 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 9.803e-05/0.3978, allocations: 126.8 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.3979, allocations: 19.83 kB / 0.6058 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.3981, allocations: 118.3 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3982, allocations: 0 / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3982, allocations: 4 kB / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.3982, allocations: 288 / 0.6059 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004501/0.3986, allocations: 415.4 kB / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3986, allocations: 0 / 0.6063 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.3987, allocations: 19.86 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.3987, allocations: 4 kB / 0.6063 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.3987, allocations: 0 / 0.6063 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.3987, allocations: 0 / 0.6063 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3987, allocations: 11.97 kB / 0.6063 GB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/0.399, allocations: 212.1 kB / 0.6065 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.3991, allocations: 93 kB / 0.6066 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.3991, allocations: 0 / 0.6066 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.3992, allocations: 4 kB / 0.6066 GB, free: 12.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.3992, allocations: 19.91 kB / 0.6066 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.3992, allocations: 8 kB / 0.6066 GB, free: 12.49 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001119/0.3993, allocations: 144 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3994, allocations: 4 kB / 0.6068 GB, free: 12.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002482/0.3996, allocations: 31.94 kB / 0.6068 GB, free: 12.32 MB / 426.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) * Number of clocked states: 0 () * 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.0009604/0.4006, allocations: 475.6 kB / 0.6073 GB, free: 12.03 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.4008, allocations: 63.91 kB / 0.6073 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4008, allocations: 0 / 0.6073 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.117e-05/0.4008, allocations: 35.92 kB / 0.6074 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003192/0.4012, allocations: 35.33 kB / 0.6074 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004734/0.4017, allocations: 242.5 kB / 0.6076 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.402, allocations: 0.7004 MB / 0.6083 GB, free: 10.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.328e-05/0.402, allocations: 28.84 kB / 0.6083 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.4021, allocations: 15.44 kB / 0.6084 GB, free: 10.86 MB / 426.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4021, allocations: 0 / 0.6084 GB, free: 10.86 MB / 426.7 MB Notification: Performance of Templates: time 0.004058/0.4062, allocations: 1.704 MB / 0.61 GB, free: 9.176 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches