Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009256/0.0009256, allocations: 178.9 kB / 18.09 MB, free: 3.605 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.215/1.215, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007647/0.0007646, allocations: 108.7 kB / 293.3 MB, free: 10.77 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.3144/0.3144, allocations: 44.15 MB / 388.5 MB, free: 38.78 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003604, allocations: 20 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2698, allocations: 61.87 MB / 0.5107 GB, free: 38.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1036/0.3735, allocations: 89.38 MB / 0.598 GB, free: 5.695 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001931/0.3737, allocations: 79.95 kB / 0.5981 GB, free: 5.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01645/0.3902, allocations: 6.307 MB / 0.6043 GB, free: 15.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3902, allocations: 0 / 0.6043 GB, free: 15.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.585e-05/0.3902, allocations: 4 kB / 0.6043 GB, free: 15.31 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005236/0.3908, allocations: 450.8 kB / 0.6047 GB, free: 14.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.3908, allocations: 16.02 kB / 0.6047 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.3909, allocations: 16.75 kB / 0.6047 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003196/0.3912, allocations: 227.9 kB / 0.6049 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3912, allocations: 12.36 kB / 0.6049 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.724e-05/0.3913, allocations: 8.281 kB / 0.605 GB, free: 14.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.3914, allocations: 74.09 kB / 0.605 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3915, allocations: 4.188 kB / 0.605 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.3915, allocations: 7.922 kB / 0.605 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3915, allocations: 0 / 0.605 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.825e-05/0.3916, allocations: 39.91 kB / 0.6051 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.3921, allocations: 320.9 kB / 0.6054 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.3923, allocations: 86.5 kB / 0.6055 GB, free: 13.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.553e-05/0.3924, allocations: 28.84 kB / 0.6055 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.3924, allocations: 0 / 0.6055 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.3926, allocations: 87.62 kB / 0.6056 GB, free: 13.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.3926, allocations: 0 / 0.6056 GB, free: 13.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007474/0.3934, allocations: 277 kB / 0.6058 GB, free: 13.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.3934, allocations: 63.34 kB / 0.6059 GB, free: 13.44 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.3936, allocations: 243.2 kB / 0.6061 GB, free: 13.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3937, allocations: 33.7 kB / 0.6062 GB, free: 13.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.3937, allocations: 116 kB / 0.6063 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.922e-05/0.3938, allocations: 35.55 kB / 0.6063 GB, free: 13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.122e-06/0.3938, allocations: 4 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.3939, allocations: 326.8 kB / 0.6066 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.991e-05/0.394, allocations: 39.97 kB / 0.6067 GB, free: 12.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.23e-05/0.3941, allocations: 49.7 kB / 0.6067 GB, free: 12.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3942, allocations: 93.64 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3943, allocations: 4 kB / 0.6068 GB, free: 12.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002333/0.3945, allocations: 145.4 kB / 0.6069 GB, free: 12.32 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3945, allocations: 4 kB / 0.6069 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.3945, allocations: 4 kB / 0.6069 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.3945, allocations: 0 / 0.6069 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.3946, allocations: 27.92 kB / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3946, allocations: 0 / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.386e-05/0.3947, allocations: 8 kB / 0.607 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.3947, allocations: 8.031 kB / 0.607 GB, free: 12.27 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 (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 0.0001017/0.3948, allocations: 134.3 kB / 0.6071 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/0.3949, allocations: 15.81 kB / 0.6071 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003789/0.3952, allocations: 184.7 kB / 0.6073 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.3953, allocations: 3.938 kB / 0.6073 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3953, allocations: 0 / 0.6073 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3953, allocations: 0 / 0.6073 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.3959, allocations: 0.5119 MB / 0.6078 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3959, allocations: 0 / 0.6078 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.052e-05/0.3959, allocations: 16 kB / 0.6078 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.396, allocations: 4 kB / 0.6078 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/0.396, allocations: 11.81 kB / 0.6078 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.396, allocations: 7.984 kB / 0.6078 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.396, allocations: 0 / 0.6078 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002733/0.3963, allocations: 261.2 kB / 0.6081 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.714e-05/0.3964, allocations: 100.9 kB / 0.6082 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.3964, allocations: 7.938 kB / 0.6082 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.958e-05/0.3965, allocations: 11.94 kB / 0.6082 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.3965, allocations: 11.98 kB / 0.6082 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.3965, allocations: 4 kB / 0.6082 GB, free: 10.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.3967, allocations: 198 kB / 0.6084 GB, free: 10.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3967, allocations: 0 / 0.6084 GB, free: 10.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002769/0.397, allocations: 43.94 kB / 0.6085 GB, free: 10.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001092/0.3981, allocations: 0.5313 MB / 0.609 GB, free: 10.33 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002145/0.3983, allocations: 87.91 kB / 0.6091 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3983, allocations: 4.062 kB / 0.6091 GB, free: 10.24 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.591e-05/0.3984, allocations: 55.91 kB / 0.6091 GB, free: 10.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.3988, allocations: 31.92 kB / 0.6091 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005598/0.3994, allocations: 351.9 kB / 0.6095 GB, free: 9.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.3996, allocations: 0.732 MB / 0.6102 GB, free: 9.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.158e-05/0.3997, allocations: 33.05 kB / 0.6102 GB, free: 8.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.3998, allocations: 19.44 kB / 0.6102 GB, free: 8.965 MB / 426.7 MB Notification: Performance of SimCode: time 2e-07/0.3998, allocations: 0 / 0.6102 GB, free: 8.965 MB / 426.7 MB Notification: Performance of Templates: time 0.004506/0.4043, allocations: 2.164 MB / 0.6124 GB, free: 6.828 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches