Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 183 kB / 18.09 MB, free: 3.727 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.194/1.194, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007954/0.0007952, allocations: 102.2 kB / 293.3 MB, free: 10.76 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.2729/0.2729, allocations: 44.15 MB / 388.5 MB, free: 38.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003516, allocations: 8 kB / 461.1 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2757, allocations: 61.87 MB / 0.5107 GB, free: 38.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09979/0.3755, allocations: 89.03 MB / 0.5977 GB, free: 6.012 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002074/0.3757, allocations: 75.95 kB / 0.5977 GB, free: 5.941 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.3869, allocations: 4.59 MB / 0.6022 GB, free: 1.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3869, allocations: 0 / 0.6022 GB, free: 1.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.387, allocations: 7.938 kB / 0.6022 GB, free: 1.332 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003939/0.3874, allocations: 422.9 kB / 0.6026 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.3874, allocations: 8.031 kB / 0.6026 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.3874, allocations: 8.844 kB / 0.6026 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.3876, allocations: 212.6 kB / 0.6029 GB, free: 0.6055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.3877, allocations: 4.375 kB / 0.6029 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.3877, allocations: 4.312 kB / 0.6029 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.3879, allocations: 81.73 kB / 0.6029 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3879, allocations: 0 / 0.6029 GB, free: 0.5117 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3879, allocations: 3.984 kB / 0.6029 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3879, allocations: 4 kB / 0.6029 GB, free: 0.5039 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001412/0.388, allocations: 51.95 kB / 0.603 GB, free: 464 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.3885, allocations: 332.6 kB / 0.6033 GB, free: 80 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.3887, allocations: 62.55 kB / 0.6034 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.783e-05/0.3888, allocations: 32.97 kB / 0.6034 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.3888, allocations: 0 / 0.6034 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.3888, allocations: 34.56 kB / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 9.52e-07/0.3889, allocations: 0 / 0.6034 GB, free: 15.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001344/0.3902, allocations: 498.2 kB / 0.6039 GB, free: 15.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.3902, allocations: 55.34 kB / 0.604 GB, free: 15.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.3904, allocations: 178.1 kB / 0.6041 GB, free: 15.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.3904, allocations: 25.7 kB / 0.6042 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.3905, allocations: 112 kB / 0.6043 GB, free: 15.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.3905, allocations: 35.55 kB / 0.6043 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.3905, allocations: 0 / 0.6043 GB, free: 15.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.127e-05/0.3906, allocations: 318.8 kB / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.3908, allocations: 59.95 kB / 0.6047 GB, free: 14.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.3909, allocations: 71.89 kB / 0.6047 GB, free: 14.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.3912, allocations: 136.8 kB / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3912, allocations: 0 / 0.6049 GB, free: 14.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003103/0.3915, allocations: 181.4 kB / 0.605 GB, free: 14.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3915, allocations: 4 kB / 0.605 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3915, allocations: 8.5 kB / 0.605 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.3916, allocations: 3.984 kB / 0.605 GB, free: 14.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.3917, allocations: 35.92 kB / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.3917, allocations: 0 / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.187e-05/0.3918, allocations: 15.98 kB / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.3918, allocations: 8 kB / 0.6051 GB, free: 14.16 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 (11): * Single equations (assignments): 11 * 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.158e-05/0.3919, allocations: 134.3 kB / 0.6052 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.3919, allocations: 7.906 kB / 0.6052 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003704/0.3923, allocations: 206.6 kB / 0.6054 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3923, allocations: 7.938 kB / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.3923, allocations: 0 / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3923, allocations: 0 / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.3929, allocations: 0.5194 MB / 0.606 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.393, allocations: 4.062 kB / 0.606 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.3931, allocations: 31.98 kB / 0.606 GB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3931, allocations: 3.938 kB / 0.606 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.966e-06/0.3931, allocations: 0 / 0.606 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.3931, allocations: 7.938 kB / 0.606 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3931, allocations: 0 / 0.606 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.3935, allocations: 285 kB / 0.6063 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.522e-05/0.3935, allocations: 100.9 kB / 0.6064 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.3936, allocations: 0 / 0.6064 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.398e-05/0.3937, allocations: 19.98 kB / 0.6064 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.617e-05/0.3937, allocations: 11.92 kB / 0.6064 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.3937, allocations: 4 kB / 0.6064 GB, free: 12.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.879e-05/0.3938, allocations: 127.2 kB / 0.6065 GB, free: 12.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3938, allocations: 0 / 0.6065 GB, free: 12.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002574/0.3941, allocations: 47.92 kB / 0.6066 GB, free: 12.55 MB / 426.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0009879/0.3951, allocations: 458.8 kB / 0.607 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.3954, allocations: 143.8 kB / 0.6071 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3954, allocations: 0 / 0.6071 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.3956, allocations: 83.89 kB / 0.6072 GB, free: 12.06 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.3959, allocations: 23.78 kB / 0.6072 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.3964, allocations: 311 kB / 0.6075 GB, free: 11.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002838/0.3967, allocations: 0.7198 MB / 0.6082 GB, free: 10.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.3968, allocations: 36.52 kB / 0.6083 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.3968, allocations: 15.44 kB / 0.6083 GB, free: 10.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3968, allocations: 0 / 0.6083 GB, free: 10.9 MB / 426.7 MB Notification: Performance of Templates: time 0.003999/0.4008, allocations: 1.562 MB / 0.6098 GB, free: 9.348 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches