Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, 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.265/1.265, allocations: 221.3 MB / 236 MB, free: 2.926 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.0008386/0.0008386, allocations: 95.97 kB / 287 MB, free: 188 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.1739/0.1739, allocations: 44.15 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.392e-05/2.393e-05, allocations: 4.219 kB / 451.8 MB, free: 9.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3495/0.4663, allocations: 89.22 MB / 0.5888 GB, free: 104 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002911/0.4667, allocations: 79.94 kB / 0.5889 GB, free: 24 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01443/0.4811, allocations: 5.525 MB / 0.5943 GB, free: 10.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4812, allocations: 0 / 0.5943 GB, free: 10.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.4812, allocations: 11.94 kB / 0.5943 GB, free: 10.5 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.0003783/0.4816, allocations: 390.2 kB / 0.5947 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4816, allocations: 12.03 kB / 0.5947 GB, free: 10.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.918e-05/0.4817, allocations: 7.906 kB / 0.5947 GB, free: 10.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000251/0.4819, allocations: 213.9 kB / 0.5949 GB, free: 9.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.482, allocations: 7.953 kB / 0.5949 GB, free: 9.797 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.482, allocations: 4 kB / 0.5949 GB, free: 9.793 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.4821, allocations: 53.67 kB / 0.595 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4821, allocations: 0 / 0.595 GB, free: 9.734 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4821, allocations: 7.938 kB / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.4822, allocations: 0 / 0.595 GB, free: 9.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.188e-05/0.4822, allocations: 27.92 kB / 0.595 GB, free: 9.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.4826, allocations: 296.8 kB / 0.5953 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4827, allocations: 54.69 kB / 0.5953 GB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.4827, allocations: 16.98 kB / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.4827, allocations: 0 / 0.5954 GB, free: 9.277 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001221/0.4829, allocations: 71.33 kB / 0.5954 GB, free: 9.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.4829, allocations: 4 kB / 0.5954 GB, free: 9.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003954/0.4833, allocations: 153.2 kB / 0.5956 GB, free: 9.035 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.4833, allocations: 51.41 kB / 0.5956 GB, free: 8.973 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.4835, allocations: 157.4 kB / 0.5958 GB, free: 8.812 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.4835, allocations: 25.7 kB / 0.5958 GB, free: 8.781 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.4836, allocations: 100.1 kB / 0.5959 GB, free: 8.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.4836, allocations: 27.64 kB / 0.5959 GB, free: 8.652 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.4836, allocations: 4 kB / 0.5959 GB, free: 8.648 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.606e-05/0.4837, allocations: 330.8 kB / 0.5962 GB, free: 8.316 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.4838, allocations: 16 kB / 0.5963 GB, free: 8.301 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.891e-05/0.4838, allocations: 33.72 kB / 0.5963 GB, free: 8.262 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.4839, allocations: 19.98 kB / 0.5963 GB, free: 8.242 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.4839, allocations: 4 kB / 0.5963 GB, free: 8.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001383/0.484, allocations: 93.53 kB / 0.5964 GB, free: 8.141 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.484, allocations: 4 kB / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.484, allocations: 0 / 0.5964 GB, free: 8.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.4841, allocations: 8.031 kB / 0.5964 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.4841, allocations: 15.98 kB / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4842, allocations: 0 / 0.5964 GB, free: 8.113 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.609e-05/0.4842, allocations: 12.12 kB / 0.5964 GB, free: 8.102 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.4842, allocations: 4 kB / 0.5964 GB, free: 8.098 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.358e-05/0.4843, allocations: 112.9 kB / 0.5966 GB, free: 7.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.4843, allocations: 15.89 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001866/0.4845, allocations: 110.1 kB / 0.5967 GB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.4845, allocations: 8 kB / 0.5967 GB, free: 7.848 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4845, allocations: 3.984 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4846, allocations: 0 / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.4849, allocations: 399.3 kB / 0.5971 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4849, allocations: 3.938 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.485, allocations: 15.98 kB / 0.5971 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.485, allocations: 0 / 0.5971 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.485, allocations: 4 kB / 0.5971 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.485, allocations: 8.031 kB / 0.5971 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.485, allocations: 192 / 0.5971 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001799/0.4852, allocations: 209.9 kB / 0.5973 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.579e-05/0.4853, allocations: 104.9 kB / 0.5974 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.4853, allocations: 0 / 0.5974 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.214e-05/0.4854, allocations: 4 kB / 0.5974 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.4854, allocations: 19.94 kB / 0.5974 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.4854, allocations: 4 kB / 0.5974 GB, free: 6.984 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.605e-05/0.4855, allocations: 130.5 kB / 0.5975 GB, free: 6.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.302e-06/0.4855, allocations: 0 / 0.5975 GB, free: 6.859 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002299/0.4858, allocations: 39.86 kB / 0.5976 GB, free: 6.82 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.4866, allocations: 418.7 kB / 0.598 GB, free: 6.523 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.4868, allocations: 63.92 kB / 0.598 GB, free: 6.461 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.4868, allocations: 3.938 kB / 0.5981 GB, free: 6.457 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.577e-05/0.4869, allocations: 35.92 kB / 0.5981 GB, free: 6.422 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.4871, allocations: 19.98 kB / 0.5981 GB, free: 6.402 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/0.4875, allocations: 152.1 kB / 0.5982 GB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.4877, allocations: 0.7082 MB / 0.5989 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.173e-05/0.4878, allocations: 20.39 kB / 0.599 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.4879, allocations: 15.44 kB / 0.599 GB, free: 5.453 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4879, allocations: 0 / 0.599 GB, free: 5.453 MB / 410.7 MB Notification: Performance of Templates: time 0.003778/0.4916, allocations: 1.669 MB / 0.6006 GB, free: 3.797 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches