Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,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.Test53") translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009624/0.0009625, 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.268/1.268, allocations: 221.4 MB / 236 MB, free: 2.953 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.0007841/0.0007839, allocations: 95.8 kB / 287 MB, free: 244 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.1782/0.1782, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.469e-05/2.472e-05, allocations: 8.219 kB / 451.8 MB, free: 9.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1003, allocations: 61.91 MB / 0.5017 GB, free: 11.46 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.457, allocations: 89.22 MB / 0.5888 GB, free: 124 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/0.4572, allocations: 79.95 kB / 0.5889 GB, free: 44 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01446/0.4717, allocations: 5.75 MB / 0.5945 GB, free: 10.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4717, allocations: 0 / 0.5945 GB, free: 10.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.4717, allocations: 4 kB / 0.5945 GB, free: 10.3 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.0004118/0.4722, allocations: 406.3 kB / 0.5949 GB, free: 9.863 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.4722, allocations: 8.031 kB / 0.5949 GB, free: 9.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.836e-05/0.4723, allocations: 19.8 kB / 0.5949 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/0.4725, allocations: 218.8 kB / 0.5952 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4726, allocations: 7.953 kB / 0.5952 GB, free: 9.574 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.4726, allocations: 11.94 kB / 0.5952 GB, free: 9.562 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.4727, allocations: 49.69 kB / 0.5952 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4728, allocations: 0 / 0.5952 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.4728, allocations: 0 / 0.5952 GB, free: 9.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.4728, allocations: 3.984 kB / 0.5952 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.487e-05/0.4728, allocations: 19.94 kB / 0.5952 GB, free: 9.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.4732, allocations: 312.7 kB / 0.5955 GB, free: 9.129 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.4733, allocations: 50.69 kB / 0.5956 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.4734, allocations: 28.98 kB / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.4734, allocations: 0 / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001255/0.4735, allocations: 67.33 kB / 0.5957 GB, free: 8.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/0.4735, allocations: 0 / 0.5957 GB, free: 8.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000424/0.474, allocations: 149.3 kB / 0.5958 GB, free: 8.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.474, allocations: 59.39 kB / 0.5959 GB, free: 8.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4742, allocations: 205.8 kB / 0.5961 GB, free: 8.523 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.4742, allocations: 25.7 kB / 0.5961 GB, free: 8.492 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.4743, allocations: 112 kB / 0.5962 GB, free: 8.379 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.577e-05/0.4743, allocations: 19.72 kB / 0.5962 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.4743, allocations: 0 / 0.5962 GB, free: 8.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001091/0.4744, allocations: 330.8 kB / 0.5965 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.44e-05/0.4745, allocations: 16 kB / 0.5966 GB, free: 8.012 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.554e-05/0.4745, allocations: 41.7 kB / 0.5966 GB, free: 7.965 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.4746, allocations: 20 kB / 0.5966 GB, free: 7.945 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.4746, allocations: 3.984 kB / 0.5966 GB, free: 7.941 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001424/0.4747, allocations: 101.5 kB / 0.5967 GB, free: 7.836 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.4748, allocations: 5.094 kB / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.4748, allocations: 0 / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.4748, allocations: 0 / 0.5967 GB, free: 7.832 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.4749, allocations: 19.98 kB / 0.5967 GB, free: 7.812 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.4749, allocations: 4.031 kB / 0.5967 GB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.475, allocations: 8 kB / 0.5968 GB, free: 7.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.475, allocations: 0 / 0.5968 GB, free: 7.801 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.562e-05/0.475, allocations: 112.9 kB / 0.5969 GB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/0.4751, allocations: 19.81 kB / 0.5969 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002061/0.4753, allocations: 119.2 kB / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4753, allocations: 0 / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4753, allocations: 0 / 0.597 GB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.4753, allocations: 4 kB / 0.597 GB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004043/0.4757, allocations: 423.2 kB / 0.5974 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4757, allocations: 0 / 0.5974 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.4758, allocations: 11.98 kB / 0.5974 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4758, allocations: 7.938 kB / 0.5974 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.4758, allocations: 0 / 0.5974 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4758, allocations: 0 / 0.5974 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4758, allocations: 0 / 0.5974 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002026/0.476, allocations: 229.8 kB / 0.5976 GB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.523e-05/0.4761, allocations: 100.9 kB / 0.5977 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.4761, allocations: 0 / 0.5977 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.278e-05/0.4762, allocations: 4.188 kB / 0.5977 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.342e-05/0.4763, allocations: 19.92 kB / 0.5978 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.4763, allocations: 4 kB / 0.5978 GB, free: 6.648 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001405/0.4764, allocations: 172.3 kB / 0.5979 GB, free: 6.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4764, allocations: 0 / 0.5979 GB, free: 6.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002639/0.4767, allocations: 35.92 kB / 0.598 GB, free: 6.445 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.0009644/0.4777, allocations: 430.1 kB / 0.5984 GB, free: 6.133 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.4778, allocations: 55.94 kB / 0.5984 GB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4778, allocations: 0 / 0.5984 GB, free: 6.078 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.745e-05/0.4779, allocations: 31.98 kB / 0.5985 GB, free: 6.047 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.4782, allocations: 24.11 kB / 0.5985 GB, free: 6.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003588/0.4785, allocations: 199.4 kB / 0.5987 GB, free: 5.801 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.4788, allocations: 0.7123 MB / 0.5994 GB, free: 5.062 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.4788, allocations: 20.55 kB / 0.5994 GB, free: 5.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.4789, allocations: 15.44 kB / 0.5994 GB, free: 5.027 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4789, allocations: 0 / 0.5994 GB, free: 5.027 MB / 410.7 MB Notification: Performance of Templates: time 0.00397/0.4829, allocations: 1.763 MB / 0.6011 GB, free: 3.277 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches