Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.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.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008356/0.0008356, allocations: 178.6 kB / 18.09 MB, free: 3.75 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.221/1.221, allocations: 223.3 MB / 242.1 MB, free: 11.59 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007431/0.000743, allocations: 91.45 kB / 293.3 MB, free: 10.74 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.2838/0.2838, allocations: 44.14 MB / 388.5 MB, free: 38.65 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 12 kB / 461.1 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2687, allocations: 61.89 MB / 0.5107 GB, free: 38.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09445/0.3632, allocations: 88.17 MB / 0.5968 GB, free: 6.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.3635, allocations: 83.94 kB / 0.5969 GB, free: 6.797 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.3741, allocations: 4.407 MB / 0.6012 GB, free: 2.391 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3741, allocations: 3.938 kB / 0.6012 GB, free: 2.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.3741, allocations: 0 / 0.6012 GB, free: 2.387 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000431/0.3746, allocations: 418.9 kB / 0.6016 GB, free: 1.926 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3746, allocations: 8.031 kB / 0.6016 GB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.3747, allocations: 12.84 kB / 0.6016 GB, free: 1.906 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.3749, allocations: 224.5 kB / 0.6019 GB, free: 1.648 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.3749, allocations: 8.312 kB / 0.6019 GB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.375, allocations: 4.375 kB / 0.6019 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3751, allocations: 54.23 kB / 0.6019 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3751, allocations: 192 / 0.6019 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.3751, allocations: 7.938 kB / 0.6019 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.3752, allocations: 0 / 0.6019 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.49e-05/0.3753, allocations: 31.92 kB / 0.602 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.3757, allocations: 320.7 kB / 0.6023 GB, free: 1.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.3758, allocations: 50.55 kB / 0.6023 GB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.483e-05/0.3759, allocations: 28.88 kB / 0.6023 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.3759, allocations: 0 / 0.6023 GB, free: 1.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.376, allocations: 34.5 kB / 0.6024 GB, free: 1.043 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.376, allocations: 0 / 0.6024 GB, free: 1.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008654/0.3768, allocations: 265 kB / 0.6026 GB, free: 0.7773 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3769, allocations: 55.41 kB / 0.6027 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002296/0.3771, allocations: 237 kB / 0.6029 GB, free: 476 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.3771, allocations: 25.7 kB / 0.6029 GB, free: 444 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.355e-05/0.3772, allocations: 112.1 kB / 0.603 GB, free: 328 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.3772, allocations: 15.72 kB / 0.603 GB, free: 312 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.3772, allocations: 4 kB / 0.603 GB, free: 308 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.3774, allocations: 334.8 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.214e-05/0.3775, allocations: 36.05 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.138e-05/0.3776, allocations: 35.97 kB / 0.6034 GB, free: 15.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.3777, allocations: 76.83 kB / 0.6035 GB, free: 15.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3777, allocations: 4 kB / 0.6035 GB, free: 15.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002077/0.3779, allocations: 117.4 kB / 0.6036 GB, free: 15.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.378, allocations: 8 kB / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.378, allocations: 0 / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.378, allocations: 0 / 0.6036 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3781, allocations: 23.98 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3781, allocations: 4.312 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.109e-05/0.3782, allocations: 11.92 kB / 0.6037 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3782, allocations: 7.938 kB / 0.6037 GB, free: 15.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001068/0.3783, allocations: 133.8 kB / 0.6038 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.854e-05/0.3783, allocations: 19.75 kB / 0.6038 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.3786, allocations: 139 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.3787, allocations: 0 / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3787, allocations: 3.984 kB / 0.604 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.3787, allocations: 4 kB / 0.604 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.3792, allocations: 455.2 kB / 0.6044 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3792, allocations: 4 kB / 0.6044 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.594e-05/0.3793, allocations: 19.98 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.3793, allocations: 0 / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.3793, allocations: 3.938 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.347e-06/0.3794, allocations: 3.938 kB / 0.6044 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3794, allocations: 4 kB / 0.6044 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.3796, allocations: 224.2 kB / 0.6046 GB, free: 14.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.3797, allocations: 100.9 kB / 0.6047 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.3797, allocations: 3.938 kB / 0.6047 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.17e-05/0.3798, allocations: 15.98 kB / 0.6048 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3798, allocations: 4 kB / 0.6048 GB, free: 14.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.3798, allocations: 3.938 kB / 0.6048 GB, free: 14.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001466/0.38, allocations: 188.2 kB / 0.605 GB, free: 14.22 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.38, allocations: 0 / 0.605 GB, free: 14.22 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000243/0.3803, allocations: 28 kB / 0.605 GB, free: 14.2 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008941/0.3812, allocations: 468.9 kB / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.3814, allocations: 83.95 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3814, allocations: 0 / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-05/0.3815, allocations: 44.08 kB / 0.6055 GB, free: 13.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3818, allocations: 16.14 kB / 0.6056 GB, free: 13.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.3823, allocations: 325.8 kB / 0.6059 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.3825, allocations: 0.7121 MB / 0.6066 GB, free: 12.7 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.572e-05/0.3826, allocations: 24.66 kB / 0.6066 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.3827, allocations: 19.42 kB / 0.6066 GB, free: 12.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3827, allocations: 3.938 kB / 0.6066 GB, free: 12.64 MB / 426.7 MB Notification: Performance of Templates: time 0.003596/0.3863, allocations: 1.457 MB / 0.608 GB, free: 11.2 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches