Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, 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.361/1.361, allocations: 221.3 MB / 236 MB, free: 2.973 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.0007651/0.0007652, allocations: 97.86 kB / 287 MB, free: 248 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.1945/0.1945, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.462e-05, allocations: 4.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 61.92 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3572/0.4685, allocations: 89.28 MB / 0.5889 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4687, allocations: 68.05 kB / 0.589 GB, free: 15.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01524/0.484, allocations: 6.005 MB / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.484, allocations: 0 / 0.5948 GB, free: 9.988 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.484, allocations: 0 / 0.5948 GB, free: 9.988 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004805/0.4845, allocations: 414.1 kB / 0.5952 GB, free: 9.539 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4846, allocations: 12.03 kB / 0.5952 GB, free: 9.527 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.4846, allocations: 11.81 kB / 0.5952 GB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.485, allocations: 222.7 kB / 0.5955 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.485, allocations: 11.95 kB / 0.5955 GB, free: 9.246 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.4851, allocations: 7.938 kB / 0.5955 GB, free: 9.238 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001362/0.4852, allocations: 61.66 kB / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4852, allocations: 0 / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.4852, allocations: 0 / 0.5955 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.4852, allocations: 4 kB / 0.5955 GB, free: 9.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.344e-05/0.4853, allocations: 23.98 kB / 0.5956 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004015/0.4857, allocations: 304.8 kB / 0.5958 GB, free: 8.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.486, allocations: 66.5 kB / 0.5959 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.257e-05/0.486, allocations: 20.97 kB / 0.5959 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.486, allocations: 0 / 0.5959 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.4862, allocations: 67.39 kB / 0.596 GB, free: 8.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.4862, allocations: 0 / 0.596 GB, free: 8.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005267/0.4867, allocations: 209.2 kB / 0.5962 GB, free: 8.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.4868, allocations: 59.39 kB / 0.5963 GB, free: 8.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.487, allocations: 205.8 kB / 0.5964 GB, free: 8.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.487, allocations: 29.64 kB / 0.5965 GB, free: 8.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.01e-05/0.4871, allocations: 112 kB / 0.5966 GB, free: 7.977 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.282e-05/0.4871, allocations: 31.56 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.678e-06/0.4871, allocations: 3.938 kB / 0.5966 GB, free: 7.941 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4872, allocations: 334.8 kB / 0.5969 GB, free: 7.605 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.051e-05/0.4873, allocations: 24 kB / 0.597 GB, free: 7.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.9e-05/0.4874, allocations: 45.72 kB / 0.597 GB, free: 7.531 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.583e-05/0.4874, allocations: 31.98 kB / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4874, allocations: 0 / 0.597 GB, free: 7.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001736/0.4876, allocations: 128.3 kB / 0.5972 GB, free: 7.371 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.4876, allocations: 8 kB / 0.5972 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4877, allocations: 3.938 kB / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.4877, allocations: 0 / 0.5972 GB, free: 7.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.4878, allocations: 19.98 kB / 0.5972 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4878, allocations: 8.031 kB / 0.5972 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.4878, allocations: 3.938 kB / 0.5972 GB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4879, allocations: 4 kB / 0.5972 GB, free: 7.324 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 (13): * Single equations (assignments): 13 * 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.391e-05/0.4879, allocations: 118.4 kB / 0.5973 GB, free: 7.203 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.488, allocations: 19.81 kB / 0.5973 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000253/0.4882, allocations: 143.6 kB / 0.5975 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.4882, allocations: 0 / 0.5975 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.4882, allocations: 0 / 0.5975 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.4883, allocations: 4 kB / 0.5975 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004975/0.4888, allocations: 472 kB / 0.5979 GB, free: 6.508 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4888, allocations: 4 kB / 0.5979 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.4888, allocations: 15.98 kB / 0.5979 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4888, allocations: 3.984 kB / 0.5979 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.4889, allocations: 8 kB / 0.598 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.4889, allocations: 3.938 kB / 0.598 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4889, allocations: 8.016 kB / 0.598 GB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002242/0.4891, allocations: 256.4 kB / 0.5982 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.4892, allocations: 100.9 kB / 0.5983 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.4892, allocations: 0 / 0.5983 GB, free: 6.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.58e-05/0.4893, allocations: 11.98 kB / 0.5983 GB, free: 6.051 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.4893, allocations: 15.92 kB / 0.5983 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.576e-06/0.4893, allocations: 4 kB / 0.5983 GB, free: 6.031 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001407/0.4895, allocations: 168.3 kB / 0.5985 GB, free: 5.867 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4895, allocations: 0 / 0.5985 GB, free: 5.867 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000252/0.4898, allocations: 43.92 kB / 0.5985 GB, free: 5.824 MB / 410.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001029/0.4908, allocations: 480.2 kB / 0.599 GB, free: 5.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001638/0.491, allocations: 79.92 kB / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.491, allocations: 0 / 0.5991 GB, free: 5.402 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.491, allocations: 43.88 kB / 0.5991 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.4913, allocations: 28.33 kB / 0.5991 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003919/0.4917, allocations: 228.8 kB / 0.5994 GB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.492, allocations: 0.716 MB / 0.6001 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.191e-05/0.492, allocations: 24.53 kB / 0.6001 GB, free: 4.312 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.108e-05/0.4921, allocations: 23.44 kB / 0.6001 GB, free: 4.289 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4921, allocations: 0 / 0.6001 GB, free: 4.289 MB / 410.7 MB Notification: Performance of Templates: time 0.004375/0.4965, allocations: 1.982 MB / 0.602 GB, free: 2.316 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches