Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.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.Test14,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.Test14") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test14,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.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009598/0.0009598, allocations: 179 kB / 18.09 MB, free: 3.758 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.196/1.196, allocations: 223.3 MB / 242.1 MB, free: 11.73 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.0007783/0.0007781, allocations: 98.05 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.2758/0.2758, allocations: 44.14 MB / 388.5 MB, free: 38.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003734/0.0003735, allocations: 12 kB / 461.1 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.28/0.2804, allocations: 61.88 MB / 0.5107 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09594/0.3764, allocations: 88.75 MB / 0.5974 GB, free: 6.359 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.3766, allocations: 79.95 kB / 0.5975 GB, free: 6.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01065/0.3873, allocations: 4.636 MB / 0.602 GB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.245e-05/0.3873, allocations: 8 kB / 0.602 GB, free: 1.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3873, allocations: 0 / 0.602 GB, free: 1.633 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.0004449/0.3878, allocations: 395.2 kB / 0.6024 GB, free: 1.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.3878, allocations: 8.031 kB / 0.6024 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.928e-05/0.3879, allocations: 4.938 kB / 0.6024 GB, free: 1.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.3881, allocations: 200.1 kB / 0.6026 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-06/0.3881, allocations: 384 / 0.6026 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3881, allocations: 8.375 kB / 0.6026 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3883, allocations: 79.89 kB / 0.6027 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3883, allocations: 192 / 0.6027 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.3884, allocations: 3.938 kB / 0.6027 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.3884, allocations: 0 / 0.6027 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3885, allocations: 47.95 kB / 0.6027 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.3888, allocations: 284.8 kB / 0.603 GB, free: 484 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.389, allocations: 58.48 kB / 0.603 GB, free: 416 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.63e-05/0.389, allocations: 28.88 kB / 0.6031 GB, free: 384 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.3891, allocations: 4 kB / 0.6031 GB, free: 380 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.3891, allocations: 30.56 kB / 0.6031 GB, free: 340 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.103e-06/0.3891, allocations: 3.938 kB / 0.6031 GB, free: 336 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006915/0.3898, allocations: 249.2 kB / 0.6034 GB, free: 80 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.3899, allocations: 81.11 kB / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001228/0.39, allocations: 136.2 kB / 0.6036 GB, free: 15.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.39, allocations: 25.7 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.3901, allocations: 104 kB / 0.6037 GB, free: 15.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3901, allocations: 23.66 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.3901, allocations: 0 / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.595e-05/0.3902, allocations: 322.8 kB / 0.604 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.3903, allocations: 39.97 kB / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3904, allocations: 57.69 kB / 0.6041 GB, free: 15.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3906, allocations: 92.78 kB / 0.6042 GB, free: 15.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3907, allocations: 0 / 0.6042 GB, free: 15.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002575/0.3909, allocations: 125.5 kB / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3909, allocations: 4 kB / 0.6043 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.3909, allocations: 0 / 0.6043 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.391, allocations: 4 kB / 0.6043 GB, free: 15.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.3911, allocations: 19.98 kB / 0.6043 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.3911, allocations: 0 / 0.6043 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.143e-05/0.3912, allocations: 19.98 kB / 0.6044 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3912, allocations: 4 kB / 0.6044 GB, free: 14.98 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.576e-05/0.3912, allocations: 130.2 kB / 0.6045 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.3913, allocations: 3.906 kB / 0.6045 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003034/0.3916, allocations: 142.3 kB / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.3916, allocations: 4 kB / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.3916, allocations: 0 / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.3916, allocations: 0 / 0.6046 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000661/0.3923, allocations: 410.4 kB / 0.605 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3923, allocations: 0 / 0.605 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.3924, allocations: 23.98 kB / 0.605 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3925, allocations: 3.984 kB / 0.605 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.3925, allocations: 4 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3925, allocations: 480 / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.3925, allocations: 3.938 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.3928, allocations: 227.3 kB / 0.6053 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.255e-05/0.3929, allocations: 96.94 kB / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.3929, allocations: 0 / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.883e-05/0.393, allocations: 16 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.393, allocations: 11.92 kB / 0.6054 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.363e-06/0.3931, allocations: 11.94 kB / 0.6054 GB, free: 13.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.3931, allocations: 107.2 kB / 0.6055 GB, free: 13.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3931, allocations: 0 / 0.6055 GB, free: 13.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002439/0.3934, allocations: 31.94 kB / 0.6055 GB, free: 13.67 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.0008585/0.3943, allocations: 454.8 kB / 0.606 GB, free: 13.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.3945, allocations: 99.88 kB / 0.6061 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3946, allocations: 0 / 0.6061 GB, free: 13.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3947, allocations: 47.97 kB / 0.6061 GB, free: 13.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.395, allocations: 15.98 kB / 0.6061 GB, free: 13.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.3953, allocations: 193.4 kB / 0.6063 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.3956, allocations: 0.6926 MB / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.273e-05/0.3956, allocations: 19.88 kB / 0.607 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.621e-05/0.3957, allocations: 19.42 kB / 0.607 GB, free: 12.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.874e-06/0.3957, allocations: 0 / 0.607 GB, free: 12.26 MB / 426.7 MB Notification: Performance of Templates: time 0.003426/0.3991, allocations: 1.435 MB / 0.6084 GB, free: 10.84 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test14/Test14.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test14.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches