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.0009291/0.0009291, allocations: 177.8 kB / 17.06 MB, free: 5.094 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.212/1.212, allocations: 223.2 MB / 241 MB, free: 10.14 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.0008571/0.000857, allocations: 104.1 kB / 292.2 MB, free: 10.7 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.2953/0.2953, allocations: 44.21 MB / 387.5 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003265/0.0003265, allocations: 8 kB / 459.9 MB, free: 1.539 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3592, allocations: 61.89 MB / 0.5095 GB, free: 37.64 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1118/0.4711, allocations: 89.01 MB / 0.5965 GB, free: 6.121 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/0.4714, allocations: 82.11 kB / 0.5966 GB, free: 6.047 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01155/0.483, allocations: 4.594 MB / 0.601 GB, free: 1.445 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.483, allocations: 0 / 0.601 GB, free: 1.445 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4831, allocations: 4 kB / 0.601 GB, free: 1.441 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.0004416/0.4835, allocations: 422.8 kB / 0.6014 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.4836, allocations: 20.48 kB / 0.6015 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.4836, allocations: 7.906 kB / 0.6015 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.4838, allocations: 193 kB / 0.6017 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.4838, allocations: 11.89 kB / 0.6017 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.4839, allocations: 4 kB / 0.6017 GB, free: 0.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.4841, allocations: 73.59 kB / 0.6017 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4841, allocations: 0 / 0.6017 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.4841, allocations: 4 kB / 0.6017 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4841, allocations: 7.938 kB / 0.6018 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.4843, allocations: 47.97 kB / 0.6018 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.4847, allocations: 332.6 kB / 0.6021 GB, free: 200 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.485, allocations: 62.58 kB / 0.6022 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.485, allocations: 8 kB / 0.6022 GB, free: 120 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.485, allocations: 38.67 kB / 0.6022 GB, free: 72 kB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.4851, allocations: 0 / 0.6022 GB, free: 72 kB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.001453/0.4865, allocations: 493.3 kB / 0.6027 GB, free: 15.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4866, allocations: 56.64 kB / 0.6027 GB, free: 15.51 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001491/0.4867, allocations: 161.2 kB / 0.6029 GB, free: 15.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.4868, allocations: 25.7 kB / 0.6029 GB, free: 15.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.968e-05/0.4868, allocations: 108 kB / 0.603 GB, free: 15.21 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.4869, allocations: 35.45 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.4869, allocations: 4 kB / 0.6031 GB, free: 15.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.487, allocations: 326.8 kB / 0.6034 GB, free: 14.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.4872, allocations: 59.95 kB / 0.6034 GB, free: 14.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.4873, allocations: 71.89 kB / 0.6035 GB, free: 14.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4874, allocations: 59.97 kB / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4874, allocations: 0 / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003226/0.4878, allocations: 177.5 kB / 0.6037 GB, free: 14.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4878, allocations: 8 kB / 0.6037 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4878, allocations: 0 / 0.6037 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4878, allocations: 0 / 0.6037 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001132/0.4879, allocations: 40.05 kB / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4879, allocations: 0 / 0.6038 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.488, allocations: 27.88 kB / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.488, allocations: 0 / 0.6038 GB, free: 14.4 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 0.0001038/0.4881, allocations: 129.8 kB / 0.6039 GB, free: 14.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.315e-05/0.4882, allocations: 7.906 kB / 0.6039 GB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.4886, allocations: 198.2 kB / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4886, allocations: 7.938 kB / 0.6041 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.4886, allocations: 4 kB / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4886, allocations: 0 / 0.6041 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006547/0.4893, allocations: 0.5195 MB / 0.6046 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4893, allocations: 0 / 0.6046 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.939e-05/0.4894, allocations: 31.92 kB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4894, allocations: 0 / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.4894, allocations: 11.95 kB / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.4894, allocations: 3.984 kB / 0.6047 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.4894, allocations: 4.062 kB / 0.6047 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003617/0.4898, allocations: 316.2 kB / 0.605 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.4899, allocations: 93 kB / 0.6051 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.4899, allocations: 0 / 0.6051 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.993e-05/0.49, allocations: 23.98 kB / 0.6051 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.4901, allocations: 7.984 kB / 0.6051 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.4901, allocations: 4 kB / 0.6051 GB, free: 12.93 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.639e-05/0.4902, allocations: 135.2 kB / 0.6052 GB, free: 12.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4902, allocations: 0 / 0.6052 GB, free: 12.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002565/0.4904, allocations: 35.94 kB / 0.6053 GB, free: 12.76 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.0009762/0.4914, allocations: 465.3 kB / 0.6057 GB, free: 12.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.4918, allocations: 143.9 kB / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4918, allocations: 0 / 0.6059 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.4919, allocations: 79.95 kB / 0.6059 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.4922, allocations: 31.95 kB / 0.606 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.4926, allocations: 318.8 kB / 0.6063 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.4929, allocations: 0.7121 MB / 0.607 GB, free: 11.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.247e-05/0.493, allocations: 32.52 kB / 0.607 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.852e-05/0.4931, allocations: 23.42 kB / 0.607 GB, free: 11.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4931, allocations: 0 / 0.607 GB, free: 11.1 MB / 426.7 MB Notification: Performance of Templates: time 0.003829/0.4969, allocations: 1.549 MB / 0.6085 GB, free: 9.559 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/jenkins/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