Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 180.5 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.288/1.288, allocations: 221.3 MB / 236 MB, free: 2.98 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.0008419/0.000842, allocations: 91.66 kB / 287 MB, free: 240 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.1852/0.1852, allocations: 44.16 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.694e-05, allocations: 8.203 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1115, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3641/0.4756, allocations: 89.18 MB / 0.5888 GB, free: 132 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/0.4759, allocations: 79.95 kB / 0.5889 GB, free: 52 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01424/0.4902, allocations: 5.477 MB / 0.5942 GB, free: 10.59 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4902, allocations: 0 / 0.5942 GB, free: 10.59 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.055e-05/0.4902, allocations: 4 kB / 0.5942 GB, free: 10.58 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.0003734/0.4906, allocations: 394.2 kB / 0.5946 GB, free: 10.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.4906, allocations: 8.031 kB / 0.5946 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.4907, allocations: 7.906 kB / 0.5946 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002661/0.491, allocations: 214.8 kB / 0.5948 GB, free: 9.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.491, allocations: 7.953 kB / 0.5948 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.491, allocations: 0 / 0.5948 GB, free: 9.879 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000109/0.4911, allocations: 53.67 kB / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.4911, allocations: 0 / 0.5949 GB, free: 9.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4912, allocations: 4 kB / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.4912, allocations: 0 / 0.5949 GB, free: 9.816 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.618e-05/0.4912, allocations: 31.86 kB / 0.5949 GB, free: 9.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.4916, allocations: 292.9 kB / 0.5952 GB, free: 9.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.4917, allocations: 50.69 kB / 0.5952 GB, free: 9.391 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.112e-05/0.4918, allocations: 20.92 kB / 0.5953 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.467e-06/0.4918, allocations: 0 / 0.5953 GB, free: 9.367 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/0.4919, allocations: 71.39 kB / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.4919, allocations: 0 / 0.5953 GB, free: 9.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004046/0.4923, allocations: 165.2 kB / 0.5955 GB, free: 9.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.4924, allocations: 51.41 kB / 0.5955 GB, free: 9.055 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.4925, allocations: 165.4 kB / 0.5957 GB, free: 8.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4925, allocations: 29.7 kB / 0.5957 GB, free: 8.852 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.4926, allocations: 100.1 kB / 0.5958 GB, free: 8.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.4926, allocations: 23.72 kB / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.977e-06/0.4926, allocations: 0 / 0.5958 GB, free: 8.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.4927, allocations: 326.8 kB / 0.5961 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.4928, allocations: 20 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.848e-05/0.4928, allocations: 41.69 kB / 0.5962 GB, free: 8.332 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.083e-05/0.4929, allocations: 16 kB / 0.5962 GB, free: 8.316 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4929, allocations: 4 kB / 0.5962 GB, free: 8.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001464/0.4931, allocations: 105.4 kB / 0.5963 GB, free: 8.203 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4931, allocations: 5.094 kB / 0.5963 GB, free: 8.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.4931, allocations: 12.05 kB / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.4931, allocations: 0 / 0.5963 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.585e-05/0.4932, allocations: 20.11 kB / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.4932, allocations: 0 / 0.5964 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.586e-05/0.4933, allocations: 11.88 kB / 0.5964 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-06/0.4933, allocations: 4 kB / 0.5964 GB, free: 8.152 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 6.211e-05/0.4933, allocations: 108.9 kB / 0.5965 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.4934, allocations: 15.94 kB / 0.5965 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000199/0.4936, allocations: 118.2 kB / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.4936, allocations: 0 / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.4936, allocations: 0 / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.4936, allocations: 0 / 0.5966 GB, free: 7.906 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.494, allocations: 411.2 kB / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.494, allocations: 0 / 0.597 GB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.4941, allocations: 11.98 kB / 0.597 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.4941, allocations: 11.97 kB / 0.597 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.4941, allocations: 0 / 0.597 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4941, allocations: 0 / 0.597 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4941, allocations: 4 kB / 0.597 GB, free: 7.418 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.4943, allocations: 213.9 kB / 0.5972 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.4944, allocations: 97 kB / 0.5973 GB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.4944, allocations: 4 kB / 0.5973 GB, free: 7.066 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.4945, allocations: 4 kB / 0.5973 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.46e-05/0.4945, allocations: 15.88 kB / 0.5973 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.4945, allocations: 8 kB / 0.5974 GB, free: 7.039 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001033/0.4946, allocations: 140.9 kB / 0.5975 GB, free: 6.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4946, allocations: 0 / 0.5975 GB, free: 6.902 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002247/0.4949, allocations: 28 kB / 0.5975 GB, free: 6.875 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.0008456/0.4957, allocations: 438.1 kB / 0.5979 GB, free: 6.559 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001217/0.4959, allocations: 59.92 kB / 0.598 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.4959, allocations: 0 / 0.598 GB, free: 6.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.208e-05/0.4959, allocations: 31.94 kB / 0.598 GB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4962, allocations: 31.95 kB / 0.5981 GB, free: 6.438 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003042/0.4965, allocations: 158.9 kB / 0.5982 GB, free: 6.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002458/0.4967, allocations: 0.7043 MB / 0.5989 GB, free: 5.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.066e-05/0.4968, allocations: 20.42 kB / 0.5989 GB, free: 5.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/0.4968, allocations: 23.42 kB / 0.5989 GB, free: 5.477 MB / 410.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4968, allocations: 0 / 0.5989 GB, free: 5.477 MB / 410.7 MB Notification: Performance of Templates: time 0.00367/0.5005, allocations: 1.687 MB / 0.6006 GB, free: 3.805 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches