Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008058/0.0008059, allocations: 178.8 kB / 18.09 MB, free: 3.625 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.225/1.225, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0007454/0.0007454, allocations: 90.67 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.2896/0.2896, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.000362, allocations: 19.98 kB / 461.1 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.263, allocations: 61.87 MB / 0.5107 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09974/0.3628, allocations: 89.03 MB / 0.5977 GB, free: 6.027 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.3631, allocations: 83.94 kB / 0.5977 GB, free: 5.949 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01129/0.3744, allocations: 4.586 MB / 0.6022 GB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3744, allocations: 0 / 0.6022 GB, free: 1.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.3744, allocations: 4 kB / 0.6022 GB, free: 1.348 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.0004855/0.3749, allocations: 426.9 kB / 0.6026 GB, free: 0.8789 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.375, allocations: 12.03 kB / 0.6026 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.375, allocations: 8.844 kB / 0.6027 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.3753, allocations: 207.3 kB / 0.6028 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-06/0.3753, allocations: 4.312 kB / 0.6029 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3753, allocations: 8.375 kB / 0.6029 GB, free: 0.6094 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.3755, allocations: 73.73 kB / 0.6029 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.3755, allocations: 0 / 0.6029 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3755, allocations: 0 / 0.6029 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.3755, allocations: 4 kB / 0.6029 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001353/0.3757, allocations: 51.95 kB / 0.603 GB, free: 488 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004592/0.3761, allocations: 336.7 kB / 0.6033 GB, free: 100 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.3764, allocations: 66.47 kB / 0.6034 GB, free: 24 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.3765, allocations: 28.97 kB / 0.6034 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.3765, allocations: 4 kB / 0.6034 GB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3765, allocations: 34.56 kB / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3765, allocations: 0 / 0.6034 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.00138/0.3779, allocations: 494.5 kB / 0.6039 GB, free: 15.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.599e-05/0.378, allocations: 55.34 kB / 0.604 GB, free: 15.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.3781, allocations: 178.1 kB / 0.6041 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3782, allocations: 33.64 kB / 0.6042 GB, free: 15.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.3782, allocations: 104 kB / 0.6043 GB, free: 15.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.3783, allocations: 35.55 kB / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.3783, allocations: 0 / 0.6043 GB, free: 15.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.3784, allocations: 326.8 kB / 0.6046 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.3785, allocations: 67.89 kB / 0.6047 GB, free: 14.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.3787, allocations: 63.95 kB / 0.6047 GB, free: 14.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002631/0.3789, allocations: 136.8 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.3789, allocations: 4 kB / 0.6049 GB, free: 14.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003286/0.3793, allocations: 177.7 kB / 0.605 GB, free: 14.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3793, allocations: 7.938 kB / 0.605 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.3793, allocations: 4 kB / 0.605 GB, free: 14.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.3793, allocations: 4 kB / 0.605 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.3794, allocations: 35.91 kB / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.3795, allocations: 0 / 0.6051 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.119e-05/0.3795, allocations: 11.98 kB / 0.6051 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3795, allocations: 8 kB / 0.6051 GB, free: 14.18 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.096e-05/0.3796, allocations: 122.4 kB / 0.6052 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.756e-05/0.3797, allocations: 15.91 kB / 0.6052 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.3801, allocations: 206.3 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.3801, allocations: 3.938 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3801, allocations: 0 / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.3801, allocations: 4 kB / 0.6054 GB, free: 13.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.3808, allocations: 0.5155 MB / 0.6059 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3808, allocations: 0 / 0.6059 GB, free: 13.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.86e-05/0.3809, allocations: 35.98 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.3809, allocations: 4 kB / 0.606 GB, free: 13.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.3809, allocations: 4 kB / 0.606 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3809, allocations: 0 / 0.606 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3809, allocations: 4 kB / 0.606 GB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3813, allocations: 285 kB / 0.6063 GB, free: 12.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.3814, allocations: 92.91 kB / 0.6063 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.3814, allocations: 8.188 kB / 0.6064 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.719e-05/0.3815, allocations: 23.98 kB / 0.6064 GB, free: 12.76 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.3815, allocations: 8.078 kB / 0.6064 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.3816, allocations: 7.938 kB / 0.6064 GB, free: 12.74 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001059/0.3817, allocations: 127.2 kB / 0.6065 GB, free: 12.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3817, allocations: 0 / 0.6065 GB, free: 12.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.3819, allocations: 43.92 kB / 0.6066 GB, free: 12.57 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.0009285/0.3829, allocations: 470.5 kB / 0.607 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.3832, allocations: 143.8 kB / 0.6071 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3832, allocations: 0 / 0.6071 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.3834, allocations: 80.02 kB / 0.6072 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.3837, allocations: 27.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.000492/0.3842, allocations: 306.9 kB / 0.6075 GB, free: 11.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3845, allocations: 0.716 MB / 0.6082 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.605e-05/0.3846, allocations: 32.53 kB / 0.6083 GB, free: 10.94 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.256e-05/0.3846, allocations: 15.44 kB / 0.6083 GB, free: 10.92 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3846, allocations: 0 / 0.6083 GB, free: 10.92 MB / 426.7 MB Notification: Performance of Templates: time 0.003699/0.3883, allocations: 1.567 MB / 0.6098 GB, free: 9.367 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches