Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009303/0.0009301, allocations: 187 kB / 18.09 MB, free: 3.723 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.181/1.181, 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.0007967/0.0007965, allocations: 101 kB / 293.3 MB, free: 10.75 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.2832/0.2832, allocations: 44.14 MB / 388.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 12 kB / 461.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2773, allocations: 61.89 MB / 0.5107 GB, free: 38.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1038/0.3812, allocations: 88.75 MB / 0.5974 GB, free: 6.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.3815, allocations: 71.95 kB / 0.5975 GB, free: 6.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01114/0.3926, allocations: 4.632 MB / 0.602 GB, free: 1.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.328e-06/0.3927, allocations: 0 / 0.602 GB, free: 1.613 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3927, 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.0004867/0.3932, allocations: 403.1 kB / 0.6024 GB, free: 1.164 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.699e-05/0.3933, allocations: 12.03 kB / 0.6024 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.545e-05/0.3933, allocations: 4.938 kB / 0.6024 GB, free: 1.148 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3936, allocations: 196.1 kB / 0.6026 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.3936, allocations: 384 / 0.6026 GB, free: 0.918 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.3936, allocations: 8.375 kB / 0.6026 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.3938, allocations: 75.89 kB / 0.6027 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.3938, allocations: 192 / 0.6027 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.3939, allocations: 3.938 kB / 0.6027 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.3939, allocations: 4 kB / 0.6027 GB, free: 0.8164 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001365/0.394, allocations: 43.97 kB / 0.6027 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.3944, allocations: 292.8 kB / 0.603 GB, free: 448 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.3946, allocations: 50.5 kB / 0.603 GB, free: 388 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.3947, allocations: 32.94 kB / 0.6031 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.3947, allocations: 0 / 0.6031 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3947, allocations: 34.56 kB / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3947, allocations: 0 / 0.6031 GB, free: 308 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007468/0.3955, allocations: 245.1 kB / 0.6033 GB, free: 56 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.162e-05/0.3956, allocations: 81.05 kB / 0.6034 GB, free: 15.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.3957, allocations: 140.5 kB / 0.6036 GB, free: 15.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3958, allocations: 25.7 kB / 0.6036 GB, free: 15.78 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.673e-05/0.3958, allocations: 104 kB / 0.6037 GB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.3958, allocations: 19.66 kB / 0.6037 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.3959, allocations: 7.938 kB / 0.6037 GB, free: 15.64 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.396, allocations: 326.8 kB / 0.604 GB, free: 15.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001077/0.3961, allocations: 35.97 kB / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.3962, allocations: 61.75 kB / 0.6041 GB, free: 15.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.3964, allocations: 92.78 kB / 0.6042 GB, free: 15.12 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3964, allocations: 0 / 0.6042 GB, free: 15.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000281/0.3967, allocations: 125.5 kB / 0.6043 GB, free: 14.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.3968, allocations: 8 kB / 0.6043 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3968, allocations: 0 / 0.6043 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3968, allocations: 0 / 0.6043 GB, free: 14.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3969, allocations: 23.98 kB / 0.6043 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3969, allocations: 0 / 0.6043 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.397, allocations: 15.98 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.397, allocations: 4 kB / 0.6044 GB, free: 14.94 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 0.0001038/0.3971, allocations: 122.2 kB / 0.6045 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.3972, allocations: 11.89 kB / 0.6045 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.3975, allocations: 138.3 kB / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3975, allocations: 0 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3975, allocations: 0 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3975, allocations: 0 / 0.6046 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005412/0.3981, allocations: 410.4 kB / 0.605 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3981, allocations: 0 / 0.605 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.267e-05/0.3982, allocations: 28.27 kB / 0.605 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3982, allocations: 0 / 0.605 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.3982, allocations: 7.984 kB / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3982, allocations: 0 / 0.6051 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3982, allocations: 4.406 kB / 0.6051 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.3985, allocations: 235.3 kB / 0.6053 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.3986, allocations: 89 kB / 0.6054 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.3986, allocations: 4 kB / 0.6054 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.739e-05/0.3987, allocations: 19.94 kB / 0.6054 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.3987, allocations: 11.92 kB / 0.6054 GB, free: 13.78 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.468e-06/0.3988, allocations: 0 / 0.6054 GB, free: 13.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.496e-05/0.3988, allocations: 111.2 kB / 0.6055 GB, free: 13.67 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3989, allocations: 0 / 0.6055 GB, free: 13.67 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.3991, allocations: 27.94 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.0009229/0.4, allocations: 457 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002824/0.4003, allocations: 95.88 kB / 0.6061 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4003, allocations: 0 / 0.6061 GB, free: 13.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.4005, allocations: 47.97 kB / 0.6061 GB, free: 13.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.4008, allocations: 18.8 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.0003847/0.4012, allocations: 189.4 kB / 0.6063 GB, free: 12.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.4014, allocations: 0.6965 MB / 0.607 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.564e-05/0.4015, allocations: 23.88 kB / 0.607 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.459e-05/0.4015, allocations: 11.44 kB / 0.607 GB, free: 12.24 MB / 426.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4015, allocations: 0 / 0.607 GB, free: 12.24 MB / 426.7 MB Notification: Performance of Templates: time 0.003664/0.4052, allocations: 1.445 MB / 0.6084 GB, free: 10.8 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches