Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.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.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008228/0.0008229, allocations: 179.2 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.195/1.195, allocations: 223.3 MB / 242.1 MB, free: 11.7 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.0007366/0.0007366, allocations: 100.3 kB / 293.3 MB, free: 10.8 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.2736/0.2736, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003435, allocations: 16 kB / 461.1 MB, free: 1.336 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2743, allocations: 61.87 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0981/0.3725, allocations: 88.75 MB / 0.5974 GB, free: 6.336 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/0.3727, allocations: 75.95 kB / 0.5975 GB, free: 6.266 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.3836, allocations: 4.64 MB / 0.602 GB, free: 1.617 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3836, allocations: 3.938 kB / 0.602 GB, free: 1.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.3836, allocations: 3.938 kB / 0.602 GB, free: 1.609 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.0004208/0.384, allocations: 399.2 kB / 0.6024 GB, free: 1.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.3841, allocations: 12.03 kB / 0.6024 GB, free: 1.156 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.3841, allocations: 4.938 kB / 0.6024 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002154/0.3844, allocations: 200.1 kB / 0.6026 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.3844, allocations: 384 / 0.6026 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.3844, allocations: 4.375 kB / 0.6026 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001867/0.3846, allocations: 79.89 kB / 0.6027 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3846, allocations: 4.188 kB / 0.6027 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3846, allocations: 7.875 kB / 0.6027 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.3846, allocations: 4 kB / 0.6027 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001211/0.3848, allocations: 35.97 kB / 0.6027 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003552/0.3851, allocations: 288.8 kB / 0.603 GB, free: 452 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.3853, allocations: 50.5 kB / 0.6031 GB, free: 392 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.751e-05/0.3854, allocations: 32.94 kB / 0.6031 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.3854, allocations: 0 / 0.6031 GB, free: 356 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3854, allocations: 30.56 kB / 0.6031 GB, free: 316 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.3854, allocations: 0 / 0.6031 GB, free: 316 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000741/0.3862, allocations: 253.2 kB / 0.6034 GB, free: 56 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.805e-05/0.3862, allocations: 77.11 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.3864, allocations: 136.1 kB / 0.6036 GB, free: 15.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.3864, allocations: 25.7 kB / 0.6036 GB, free: 15.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.756e-05/0.3865, allocations: 100 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.643e-05/0.3865, allocations: 23.66 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-06/0.3865, allocations: 0 / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.615e-05/0.3866, allocations: 330.8 kB / 0.604 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.3867, allocations: 35.97 kB / 0.604 GB, free: 15.29 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3868, allocations: 57.77 kB / 0.6041 GB, free: 15.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001939/0.387, allocations: 96.89 kB / 0.6042 GB, free: 15.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.387, allocations: 4.031 kB / 0.6042 GB, free: 15.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002464/0.3873, allocations: 121.5 kB / 0.6043 GB, free: 15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3873, allocations: 12 kB / 0.6043 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3873, allocations: 0 / 0.6043 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3873, allocations: 0 / 0.6043 GB, free: 14.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.3875, allocations: 23.97 kB / 0.6044 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3875, allocations: 4 kB / 0.6044 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.563e-05/0.3875, allocations: 8 kB / 0.6044 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.3875, allocations: 4 kB / 0.6044 GB, free: 14.95 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 (7): * Single equations (assignments): 7 * 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 7.858e-05/0.3876, allocations: 134.2 kB / 0.6045 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.3877, allocations: 7.906 kB / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002924/0.388, allocations: 138.3 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.388, allocations: 0 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.388, allocations: 0 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.388, allocations: 0 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.3885, allocations: 414.4 kB / 0.605 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3885, allocations: 0 / 0.605 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.879e-05/0.3886, allocations: 23.98 kB / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.3886, allocations: 288 / 0.6051 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.355e-06/0.3886, allocations: 8 kB / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.3886, allocations: 0 / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3886, allocations: 3.938 kB / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002758/0.3889, allocations: 231.3 kB / 0.6053 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.072e-05/0.3889, allocations: 93 kB / 0.6054 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.389, allocations: 3.938 kB / 0.6054 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.423e-05/0.389, allocations: 15.98 kB / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.3891, allocations: 7.938 kB / 0.6054 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3891, allocations: 3.984 kB / 0.6054 GB, free: 13.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.143e-05/0.3892, allocations: 113.9 kB / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3892, allocations: 0 / 0.6055 GB, free: 13.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.3895, allocations: 35.92 kB / 0.6055 GB, free: 13.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (7): * Single equations (assignments): 7 * 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.0009818/0.3904, allocations: 453.1 kB / 0.606 GB, free: 13.37 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.3907, allocations: 83.95 kB / 0.6061 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3908, allocations: 7.938 kB / 0.6061 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3909, allocations: 51.95 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.3911, allocations: 19.92 kB / 0.6061 GB, free: 13.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004052/0.3916, allocations: 193.4 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.3918, allocations: 0.6965 MB / 0.607 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.597e-05/0.3919, allocations: 15.89 kB / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.043e-05/0.392, allocations: 19.42 kB / 0.607 GB, free: 12.23 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.392, allocations: 0 / 0.607 GB, free: 12.23 MB / 426.7 MB Notification: Performance of Templates: time 0.003761/0.3957, allocations: 1.437 MB / 0.6084 GB, free: 10.8 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test12/Test12.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches