Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,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.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 221.5 MB / 230.7 MB, free: 7.496 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.0008568/0.0008568, allocations: 89.94 kB / 281.6 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1796/0.1796, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.093e-05, allocations: 8 kB / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 61.92 MB / 0.4947 GB, free: 1.223 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4538/0.5936, allocations: 88.55 MB / 0.5812 GB, free: 7.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.5938, allocations: 74.56 kB / 0.5812 GB, free: 7.859 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01578/0.6096, allocations: 5.541 MB / 0.5866 GB, free: 2.332 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.6096, allocations: 0 / 0.5866 GB, free: 2.332 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.402e-05/0.6097, allocations: 4 kB / 0.5867 GB, free: 2.328 MB / 394.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.0004641/0.6101, allocations: 392.2 kB / 0.587 GB, free: 1.902 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.6102, allocations: 15.98 kB / 0.587 GB, free: 1.887 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.6103, allocations: 7.906 kB / 0.587 GB, free: 1.879 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.6106, allocations: 218.7 kB / 0.5873 GB, free: 1.625 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.6106, allocations: 3.953 kB / 0.5873 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.6106, allocations: 4 kB / 0.5873 GB, free: 1.617 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.666e-05/0.6107, allocations: 15.98 kB / 0.5873 GB, free: 1.602 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.6109, allocations: 49.67 kB / 0.5873 GB, free: 1.547 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.6109, allocations: 11.88 kB / 0.5873 GB, free: 1.535 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.6109, allocations: 7.938 kB / 0.5873 GB, free: 1.527 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.6109, allocations: 4 kB / 0.5874 GB, free: 1.523 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003902/0.6113, allocations: 261.5 kB / 0.5876 GB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.6114, allocations: 50.69 kB / 0.5876 GB, free: 1.172 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.816e-05/0.6115, allocations: 16.98 kB / 0.5877 GB, free: 1.152 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.6115, allocations: 4 kB / 0.5877 GB, free: 1.148 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001281/0.6116, allocations: 71.33 kB / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.6117, allocations: 0 / 0.5877 GB, free: 1.066 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004623/0.6121, allocations: 145.2 kB / 0.5879 GB, free: 0.918 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.6122, allocations: 51.41 kB / 0.5879 GB, free: 0.8555 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.6124, allocations: 165.4 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.6124, allocations: 25.7 kB / 0.5881 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.975e-05/0.6125, allocations: 104.1 kB / 0.5882 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.6125, allocations: 23.69 kB / 0.5882 GB, free: 0.5273 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-06/0.6125, allocations: 3.938 kB / 0.5882 GB, free: 0.5234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6126, allocations: 326.8 kB / 0.5885 GB, free: 200 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.85e-05/0.6127, allocations: 12 kB / 0.5886 GB, free: 188 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-05/0.6127, allocations: 33.72 kB / 0.5886 GB, free: 148 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.203e-05/0.6128, allocations: 23.94 kB / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.6128, allocations: 0 / 0.5886 GB, free: 124 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001659/0.613, allocations: 101.4 kB / 0.5887 GB, free: 16 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.613, allocations: 7.984 kB / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.613, allocations: 0 / 0.5887 GB, free: 8 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.613, allocations: 4 kB / 0.5887 GB, free: 4 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.6132, allocations: 16.03 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.6132, allocations: 0 / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.003e-05/0.6133, allocations: 7.938 kB / 0.5887 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.6133, allocations: 3.938 kB / 0.5887 GB, free: 15.98 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 0.000113/0.6134, allocations: 114.8 kB / 0.5889 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.6134, allocations: 7.906 kB / 0.5889 GB, free: 15.85 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002313/0.6137, allocations: 110.4 kB / 0.589 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.6137, allocations: 4 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6137, allocations: 96 / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6137, allocations: 3.938 kB / 0.589 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004329/0.6142, allocations: 379.8 kB / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6142, allocations: 0 / 0.5893 GB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.6142, allocations: 19.95 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.6142, allocations: 0 / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.6143, allocations: 4 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6143, allocations: 0 / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6143, allocations: 3.938 kB / 0.5894 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001969/0.6145, allocations: 210.2 kB / 0.5896 GB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.6146, allocations: 97 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.6146, allocations: 0 / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/0.6147, allocations: 4 kB / 0.5897 GB, free: 14.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.6147, allocations: 11.92 kB / 0.5897 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.6147, allocations: 4 kB / 0.5897 GB, free: 14.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001049/0.6148, allocations: 141 kB / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6148, allocations: 0 / 0.5898 GB, free: 14.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002584/0.6151, allocations: 24 kB / 0.5898 GB, free: 14.76 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.0008529/0.616, allocations: 398.2 kB / 0.5902 GB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001228/0.6161, allocations: 59.92 kB / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6161, allocations: 0 / 0.5903 GB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.6162, allocations: 31.94 kB / 0.5903 GB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6164, allocations: 27.84 kB / 0.5903 GB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.6168, allocations: 161.4 kB / 0.5905 GB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.6171, allocations: 0.712 MB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.998e-05/0.6171, allocations: 16.42 kB / 0.5912 GB, free: 13.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.6172, allocations: 19.42 kB / 0.5912 GB, free: 13.37 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6172, allocations: 3.938 kB / 0.5912 GB, free: 13.36 MB / 410.7 MB Notification: Performance of Templates: time 0.003957/0.6212, allocations: 1.612 MB / 0.5928 GB, free: 11.76 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches