Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001075/0.001075, allocations: 180.2 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.336/1.336, allocations: 221.4 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.0008871/0.0008871, allocations: 84.02 kB / 287 MB, free: 228 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.1678/0.1678, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.727e-05/2.734e-05, allocations: 4.219 kB / 451.8 MB, free: 9.406 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1182, allocations: 61.91 MB / 0.5017 GB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.4559, allocations: 89.29 MB / 0.5889 GB, free: 15.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002129/0.4562, allocations: 71.97 kB / 0.589 GB, free: 15.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01539/0.4716, allocations: 6.043 MB / 0.5949 GB, free: 9.902 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4716, allocations: 3.938 kB / 0.5949 GB, free: 9.898 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4717, allocations: 4 kB / 0.5949 GB, free: 9.895 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.000422/0.4721, allocations: 410.2 kB / 0.5953 GB, free: 9.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.4721, allocations: 12.03 kB / 0.5953 GB, free: 9.438 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.333e-05/0.4722, allocations: 11.81 kB / 0.5953 GB, free: 9.426 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002995/0.4725, allocations: 231.4 kB / 0.5955 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.4725, allocations: 7.953 kB / 0.5955 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.4725, allocations: 4 kB / 0.5955 GB, free: 9.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.4727, allocations: 65.64 kB / 0.5956 GB, free: 9.074 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.4727, allocations: 4 kB / 0.5956 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.4727, allocations: 0 / 0.5956 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.4727, allocations: 0 / 0.5956 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.297e-05/0.4728, allocations: 31.97 kB / 0.5956 GB, free: 9.039 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.4732, allocations: 316.6 kB / 0.5959 GB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001907/0.4734, allocations: 58.56 kB / 0.596 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.249e-05/0.4735, allocations: 24.97 kB / 0.596 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.4735, allocations: 0 / 0.596 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.4736, allocations: 75.33 kB / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.4736, allocations: 0 / 0.5961 GB, free: 8.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005089/0.4741, allocations: 205.2 kB / 0.5963 GB, free: 8.293 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.4742, allocations: 59.39 kB / 0.5963 GB, free: 8.223 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.4744, allocations: 221.2 kB / 0.5965 GB, free: 7.996 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.4744, allocations: 33.7 kB / 0.5966 GB, free: 7.957 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.558e-05/0.4745, allocations: 112.1 kB / 0.5967 GB, free: 7.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.4745, allocations: 39.45 kB / 0.5967 GB, free: 7.805 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.4745, allocations: 7.938 kB / 0.5967 GB, free: 7.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.4746, allocations: 326.8 kB / 0.597 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.332e-05/0.4747, allocations: 28 kB / 0.5971 GB, free: 7.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.911e-05/0.4748, allocations: 47.08 kB / 0.5971 GB, free: 7.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.877e-05/0.4748, allocations: 38.06 kB / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.4748, allocations: 0 / 0.5971 GB, free: 7.355 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001718/0.475, allocations: 117.4 kB / 0.5973 GB, free: 7.234 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.475, allocations: 8 kB / 0.5973 GB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.4751, allocations: 3.984 kB / 0.5973 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4751, allocations: 0 / 0.5973 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.4752, allocations: 24 kB / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.4752, allocations: 0 / 0.5973 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.958e-05/0.4752, allocations: 7.922 kB / 0.5973 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.4753, allocations: 8.031 kB / 0.5973 GB, free: 7.184 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 6.716e-05/0.4753, allocations: 116.9 kB / 0.5974 GB, free: 7.062 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.4754, allocations: 15.81 kB / 0.5974 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.4756, allocations: 143.2 kB / 0.5976 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.4756, allocations: 7.938 kB / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4757, allocations: 0 / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.4757, allocations: 0 / 0.5976 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005027/0.4762, allocations: 476 kB / 0.598 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4762, allocations: 4 kB / 0.598 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.361e-05/0.4762, allocations: 19.92 kB / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4763, allocations: 0 / 0.5981 GB, free: 6.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.4763, allocations: 8 kB / 0.5981 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4763, allocations: 0 / 0.5981 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4763, allocations: 3.953 kB / 0.5981 GB, free: 6.328 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.4765, allocations: 261.4 kB / 0.5983 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-05/0.4766, allocations: 104.8 kB / 0.5984 GB, free: 5.918 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.4767, allocations: 7.984 kB / 0.5984 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.891e-05/0.4767, allocations: 8 kB / 0.5984 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.4768, allocations: 11.98 kB / 0.5984 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4768, allocations: 4 kB / 0.5984 GB, free: 5.887 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001495/0.477, allocations: 180.3 kB / 0.5986 GB, free: 5.711 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.477, allocations: 0 / 0.5986 GB, free: 5.711 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000253/0.4772, allocations: 47.92 kB / 0.5987 GB, free: 5.664 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.0009676/0.4782, allocations: 482.7 kB / 0.5991 GB, free: 5.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001531/0.4784, allocations: 75.92 kB / 0.5992 GB, free: 5.246 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4784, allocations: 8.062 kB / 0.5992 GB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.4785, allocations: 35.94 kB / 0.5992 GB, free: 5.203 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.4787, allocations: 28.16 kB / 0.5993 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.4791, allocations: 232.7 kB / 0.5995 GB, free: 4.922 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.4794, allocations: 0.724 MB / 0.6002 GB, free: 4.172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.132e-05/0.4794, allocations: 20.75 kB / 0.6002 GB, free: 4.152 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.4795, allocations: 23.61 kB / 0.6002 GB, free: 4.129 MB / 410.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4795, allocations: 0 / 0.6002 GB, free: 4.129 MB / 410.7 MB Notification: Performance of Templates: time 0.004249/0.4837, allocations: 2.017 MB / 0.6022 GB, free: 2.121 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches