Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 178.7 kB / 14.15 MB, free: 1.168 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.239/1.239, allocations: 221.3 MB / 236 MB, free: 2.949 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.001121/0.001121, allocations: 91.8 kB / 287 MB, free: 232 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.1721/0.1721, allocations: 44.14 MB / 382 MB, free: 14.67 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.266e-05, allocations: 4.219 kB / 451.8 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.106, allocations: 61.91 MB / 0.5017 GB, free: 11.44 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4591, allocations: 89.22 MB / 0.5888 GB, free: 100 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4594, allocations: 75.95 kB / 0.5889 GB, free: 24 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0151/0.4745, allocations: 5.926 MB / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4746, allocations: 0 / 0.5947 GB, free: 10.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.4746, allocations: 0 / 0.5947 GB, free: 10.11 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.0004154/0.475, allocations: 426.1 kB / 0.5951 GB, free: 9.648 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4751, allocations: 8.031 kB / 0.5951 GB, free: 9.641 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.399e-05/0.4751, allocations: 15.91 kB / 0.5951 GB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.4754, allocations: 227.8 kB / 0.5953 GB, free: 9.359 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.4754, allocations: 7.891 kB / 0.5954 GB, free: 9.352 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.08e-05/0.4755, allocations: 4 kB / 0.5954 GB, free: 9.348 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.4756, allocations: 57.61 kB / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.4756, allocations: 0 / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.4756, allocations: 0 / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4756, allocations: 0 / 0.5954 GB, free: 9.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.331e-05/0.4757, allocations: 19.94 kB / 0.5954 GB, free: 9.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003875/0.4761, allocations: 320.8 kB / 0.5957 GB, free: 8.902 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.4762, allocations: 50.64 kB / 0.5958 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.844e-05/0.4763, allocations: 24.97 kB / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.4763, allocations: 0 / 0.5958 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.4764, allocations: 71.39 kB / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4764, allocations: 0 / 0.5959 GB, free: 8.734 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004268/0.4768, allocations: 165 kB / 0.596 GB, free: 8.566 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4769, allocations: 51.41 kB / 0.5961 GB, free: 8.504 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.4772, allocations: 247.1 kB / 0.5963 GB, free: 8.254 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.4772, allocations: 33.7 kB / 0.5963 GB, free: 8.215 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.323e-05/0.4773, allocations: 116 kB / 0.5965 GB, free: 8.098 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.4773, allocations: 19.72 kB / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/0.4773, allocations: 0 / 0.5965 GB, free: 8.078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001013/0.4774, allocations: 338.8 kB / 0.5968 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.778e-05/0.4774, allocations: 23.94 kB / 0.5968 GB, free: 7.715 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.261e-05/0.4775, allocations: 29.72 kB / 0.5969 GB, free: 7.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.4775, allocations: 19.98 kB / 0.5969 GB, free: 7.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.4775, allocations: 4 kB / 0.5969 GB, free: 7.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001701/0.4777, allocations: 105.4 kB / 0.597 GB, free: 7.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.4777, allocations: 4 kB / 0.597 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4778, allocations: 4.031 kB / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.4778, allocations: 0 / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.601e-05/0.4779, allocations: 19.98 kB / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.4779, allocations: 0 / 0.597 GB, free: 7.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.4779, allocations: 12.12 kB / 0.597 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.478, allocations: 4 kB / 0.597 GB, free: 7.504 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.201e-05/0.478, allocations: 116.9 kB / 0.5971 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.478, allocations: 19.8 kB / 0.5971 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002035/0.4783, allocations: 123.2 kB / 0.5973 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.4783, allocations: 4 kB / 0.5973 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.4783, allocations: 0 / 0.5973 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4783, allocations: 0 / 0.5973 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004289/0.4787, allocations: 435.2 kB / 0.5977 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4787, allocations: 0 / 0.5977 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.149e-05/0.4788, allocations: 11.94 kB / 0.5977 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4788, allocations: 3.938 kB / 0.5977 GB, free: 6.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.4788, allocations: 8 kB / 0.5977 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4788, allocations: 4.031 kB / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.4788, allocations: 0 / 0.5977 GB, free: 6.719 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.479, allocations: 225.8 kB / 0.5979 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.4791, allocations: 100.9 kB / 0.598 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.4791, allocations: 4 kB / 0.598 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.901e-05/0.4792, allocations: 15.98 kB / 0.598 GB, free: 6.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.383e-05/0.4793, allocations: 7.953 kB / 0.598 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.4793, allocations: 0 / 0.598 GB, free: 6.328 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.4794, allocations: 209.5 kB / 0.5982 GB, free: 6.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4795, allocations: 0 / 0.5982 GB, free: 6.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.4797, allocations: 32 kB / 0.5983 GB, free: 6.094 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.0008751/0.4806, allocations: 430.9 kB / 0.5987 GB, free: 5.781 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.4807, allocations: 63.91 kB / 0.5988 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4807, allocations: 0 / 0.5988 GB, free: 5.719 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.885e-05/0.4808, allocations: 31.94 kB / 0.5988 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.481, allocations: 27.7 kB / 0.5988 GB, free: 5.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.4814, allocations: 231.6 kB / 0.599 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.4817, allocations: 0.7238 MB / 0.5997 GB, free: 4.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.239e-05/0.4818, allocations: 20.42 kB / 0.5998 GB, free: 4.641 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.4818, allocations: 23.42 kB / 0.5998 GB, free: 4.617 MB / 410.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4818, allocations: 0 / 0.5998 GB, free: 4.617 MB / 410.7 MB Notification: Performance of Templates: time 0.00404/0.4859, allocations: 1.858 MB / 0.6016 GB, free: 2.773 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches