Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,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.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 170.6 kB / 8.739 MB, free: 340 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.398/1.398, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0007905/0.0007905, allocations: 95.48 kB / 281.6 MB, free: 5.32 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.2862/0.2862, allocations: 44.16 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.333e-05, allocations: 4.219 kB / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1484, allocations: 61.92 MB / 0.4947 GB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4607/0.6092, allocations: 88.55 MB / 0.5812 GB, free: 7.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.6095, allocations: 79.94 kB / 0.5812 GB, free: 7.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.6247, allocations: 5.525 MB / 0.5866 GB, free: 2.359 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.749e-06/0.6248, allocations: 0 / 0.5866 GB, free: 2.359 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.6248, allocations: 2.953 kB / 0.5866 GB, free: 2.359 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.000548/0.6254, allocations: 392.9 kB / 0.587 GB, free: 1.934 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.6254, allocations: 19.92 kB / 0.587 GB, free: 1.914 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.883e-05/0.6255, allocations: 11.89 kB / 0.587 GB, free: 1.902 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000298/0.6258, allocations: 210.7 kB / 0.5872 GB, free: 1.656 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.6258, allocations: 7.953 kB / 0.5873 GB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.6258, allocations: 3.984 kB / 0.5873 GB, free: 1.645 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.698e-05/0.6259, allocations: 16 kB / 0.5873 GB, free: 1.629 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.912e-05/0.626, allocations: 49.67 kB / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.626, allocations: 0 / 0.5873 GB, free: 1.574 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.409e-05/0.6261, allocations: 11.92 kB / 0.5873 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.6261, allocations: 0 / 0.5873 GB, free: 1.562 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/0.6264, allocations: 273.4 kB / 0.5876 GB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.6266, allocations: 50.69 kB / 0.5876 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.011e-05/0.6266, allocations: 16.98 kB / 0.5877 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.6266, allocations: 0 / 0.5877 GB, free: 1.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001262/0.6268, allocations: 71.39 kB / 0.5877 GB, free: 1.098 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.544e-06/0.6268, allocations: 0 / 0.5877 GB, free: 1.098 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.00043/0.6272, allocations: 145.2 kB / 0.5879 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.6272, allocations: 55.41 kB / 0.5879 GB, free: 0.8828 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.6274, allocations: 161.4 kB / 0.5881 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.6274, allocations: 25.7 kB / 0.5881 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.6275, allocations: 100.1 kB / 0.5882 GB, free: 0.5859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.6275, allocations: 19.7 kB / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-06/0.6275, allocations: 0 / 0.5882 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6277, allocations: 330.8 kB / 0.5885 GB, free: 240 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.6277, allocations: 20.69 kB / 0.5885 GB, free: 220 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.33e-05/0.6278, allocations: 29.72 kB / 0.5886 GB, free: 184 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.6278, allocations: 27.94 kB / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.6278, allocations: 192 / 0.5886 GB, free: 156 kB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001396/0.628, allocations: 89.5 kB / 0.5887 GB, free: 60 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.628, allocations: 15.92 kB / 0.5887 GB, free: 44 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.628, allocations: 4.031 kB / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.628, allocations: 0 / 0.5887 GB, free: 40 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.363e-05/0.6281, allocations: 15.94 kB / 0.5887 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6281, allocations: 4 kB / 0.5887 GB, free: 20 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.9e-05/0.6282, allocations: 7.922 kB / 0.5887 GB, free: 12 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.6282, allocations: 4 kB / 0.5887 GB, free: 8 kB / 394.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 9.705e-05/0.6283, allocations: 104.9 kB / 0.5888 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.6283, allocations: 12.09 kB / 0.5888 GB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002335/0.6286, allocations: 114.2 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.6286, allocations: 0 / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6286, allocations: 4 kB / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.6286, allocations: 0 / 0.589 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.629, allocations: 379.9 kB / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.629, allocations: 0 / 0.5893 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.384e-05/0.6291, allocations: 15.92 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.6291, allocations: 4 kB / 0.5893 GB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.6291, allocations: 4.031 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.6291, allocations: 80 / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.6291, allocations: 3.984 kB / 0.5893 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.6294, allocations: 214.1 kB / 0.5896 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.193e-05/0.6294, allocations: 93 kB / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.6295, allocations: 0 / 0.5896 GB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.6295, allocations: 8 kB / 0.5896 GB, free: 14.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.6296, allocations: 11.98 kB / 0.5897 GB, free: 14.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.6296, allocations: 4 kB / 0.5897 GB, free: 14.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.6297, allocations: 140.9 kB / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6297, allocations: 0 / 0.5898 GB, free: 14.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000261/0.63, allocations: 24 kB / 0.5898 GB, free: 14.79 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.0009679/0.631, allocations: 395.2 kB / 0.5902 GB, free: 14.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.6311, allocations: 55.92 kB / 0.5903 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6312, allocations: 64 / 0.5903 GB, free: 14.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.6312, allocations: 32 kB / 0.5903 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.6315, allocations: 27.84 kB / 0.5903 GB, free: 14.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.6319, allocations: 161.3 kB / 0.5905 GB, free: 14.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.6322, allocations: 0.7119 MB / 0.5912 GB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.6323, allocations: 16.8 kB / 0.5912 GB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.6324, allocations: 23.36 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6324, allocations: 3.938 kB / 0.5912 GB, free: 13.4 MB / 410.7 MB Notification: Performance of Templates: time 0.004423/0.6368, allocations: 1.619 MB / 0.5928 GB, free: 11.79 MB / 410.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches