Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 106.3 kB / 17.98 MB, free: 5.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002017/0.002017, allocations: 193.3 kB / 18.91 MB, free: 4.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 242.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2139/0.2139, allocations: 44.17 MB / 336.9 MB, free: 2.723 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 61.16 kB / 408.5 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1029, allocations: 60.83 MB / 469.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002894/0.1058, allocations: 1.687 MB / 471.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00072/0.1065, allocations: 447.2 kB / 471.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.583e-05/0.1066, allocations: 8 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000518/0.1071, allocations: 455.2 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003251/0.1075, allocations: 235.5 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.1079, allocations: 169.7 kB / 472.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1081, allocations: 167.7 kB / 472.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.1082, allocations: 23.98 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001374/0.1084, allocations: 111.7 kB / 472.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.1086, allocations: 223.5 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1086, allocations: 4 kB / 472.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1087, allocations: 47.92 kB / 472.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.601e-05/0.1088, allocations: 91.61 kB / 473 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.807e-05/0.1089, allocations: 95.06 kB / 473.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002287/0.1092, allocations: 208 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.1092, allocations: 4 kB / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1092, allocations: 0 / 473.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1092, allocations: 0 / 473.3 MB, free: 10.77 MB / 350.1 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.000665/0.1099, allocations: 0.6375 MB / 473.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1099, allocations: 12.03 kB / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.411e-05/0.11, allocations: 40.38 kB / 474 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1102, allocations: 296.2 kB / 474.3 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1102, allocations: 4.359 kB / 474.3 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.1103, allocations: 8.375 kB / 474.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1104, allocations: 65.8 kB / 474.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.1104, allocations: 0 / 474.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.1105, allocations: 0 / 474.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1105, allocations: 7.938 kB / 474.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.1106, allocations: 31.97 kB / 474.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004983/0.1111, allocations: 404.6 kB / 474.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1112, allocations: 54.59 kB / 474.9 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.99e-05/0.1113, allocations: 16.94 kB / 474.9 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.1113, allocations: 3.938 kB / 474.9 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.081e-05/0.1113, allocations: 34.56 kB / 474.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1113, allocations: 0 / 474.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009012/0.1122, allocations: 315.8 kB / 475.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.639e-05/0.1123, allocations: 59.34 kB / 475.3 MB, free: 8.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.113, allocations: 0.8574 MB / 476.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.113, allocations: 25.7 kB / 476.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.1132, allocations: 224 kB / 476.4 MB, free: 7.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.1132, allocations: 27.64 kB / 476.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.1133, allocations: 29.66 kB / 476.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.1134, allocations: 358.8 kB / 476.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.362e-05/0.1135, allocations: 31.97 kB / 476.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.513e-05/0.1136, allocations: 31.98 kB / 476.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.1137, allocations: 84.73 kB / 476.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1138, allocations: 0 / 476.9 MB, free: 6.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000231/0.114, allocations: 141.1 kB / 477.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.114, allocations: 8 kB / 477.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.114, allocations: 0 / 477.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.114, allocations: 0 / 477.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.406e-05/0.1141, allocations: 23.92 kB / 477.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1142, allocations: 3.938 kB / 477.1 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.364e-05/0.1142, allocations: 7.984 kB / 477.1 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.1142, allocations: 4 kB / 477.1 MB, free: 6.738 MB / 350.1 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001683/0.1144, allocations: 210.3 kB / 477.3 MB, free: 6.523 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.13e-05/0.1145, allocations: 47.44 kB / 477.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003116/0.1148, allocations: 169.4 kB / 477.5 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.1148, allocations: 4 kB / 477.5 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1148, allocations: 7.875 kB / 477.5 MB, free: 6.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1148, allocations: 4 kB / 477.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005847/0.1154, allocations: 0.5074 MB / 478 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.1154, allocations: 8.344 kB / 478.1 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.1155, allocations: 12 kB / 478.1 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/0.1155, allocations: 4 kB / 478.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1155, allocations: 32 / 478.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.1155, allocations: 7.984 kB / 478.1 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1155, allocations: 3.938 kB / 478.1 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.1158, allocations: 251.8 kB / 478.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.674e-05/0.1159, allocations: 120.5 kB / 478.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1159, allocations: 4 kB / 478.5 MB, free: 5.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.116, allocations: 11.98 kB / 478.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.1161, allocations: 4 kB / 478.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.1161, allocations: 0 / 478.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005838/0.1167, allocations: 0.6511 MB / 479.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1167, allocations: 0 / 479.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002675/0.1169, allocations: 32 kB / 479.1 MB, free: 4.582 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001033/0.118, allocations: 450.6 kB / 479.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.1182, allocations: 83.88 kB / 479.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1182, allocations: 0 / 479.7 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.587e-05/0.1183, allocations: 47.97 kB / 479.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003725/0.1187, allocations: 33.39 kB / 479.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.1199, allocations: 0.9424 MB / 480.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1203, allocations: 0.826 MB / 481.5 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.985e-05/0.1203, allocations: 15.44 kB / 481.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1203, allocations: 4 kB / 481.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of Templates: time 0.007671/0.128, allocations: 3.994 MB / 485.5 MB, free: 14.31 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches