Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001197/0.001197, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.462/1.462, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2184/0.2184, allocations: 44.19 MB / 337.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 64.38 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1093, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.003494/0.1129, allocations: 1.655 MB / 471.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009426/0.1139, allocations: 451 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.065e-05/0.1139, allocations: 4 kB / 472 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000189/0.1141, allocations: 11.86 kB / 472 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000202/0.1143, allocations: 47.72 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1147, allocations: 146.9 kB / 472.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.1148, allocations: 71.78 kB / 472.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.411e-05/0.1149, allocations: 16.22 kB / 472.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.13e-05/0.115, allocations: 39.84 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.883e-05/0.1151, allocations: 39.84 kB / 472.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.1151, allocations: 4 kB / 472.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.1152, allocations: 59.89 kB / 472.5 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.611e-05/0.1153, allocations: 19.92 kB / 472.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.1153, allocations: 27.81 kB / 472.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1155, allocations: 116 kB / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1156, allocations: 0 / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1156, allocations: 0 / 472.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.1e-06/0.1156, allocations: 0 / 472.6 MB, free: 11.65 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006308/0.1162, allocations: 421.8 kB / 473 MB, free: 11.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.1163, allocations: 12.03 kB / 473 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1163, allocations: 12.84 kB / 473 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.1165, allocations: 196.1 kB / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.051e-06/0.1165, allocations: 384 / 473.2 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.1166, allocations: 4.375 kB / 473.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002736/0.1168, allocations: 91.5 kB / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.1169, allocations: 0 / 473.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1169, allocations: 7.984 kB / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1169, allocations: 0 / 473.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003036/0.1172, allocations: 63.92 kB / 473.4 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.1176, allocations: 316.6 kB / 473.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002277/0.1179, allocations: 62.53 kB / 473.8 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001661/0.118, allocations: 52.94 kB / 473.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.1181, allocations: 0 / 473.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.1181, allocations: 34.5 kB / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1181, allocations: 0 / 473.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001608/0.1197, allocations: 380.9 kB / 474.2 MB, free: 9.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.1198, allocations: 85.11 kB / 474.3 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.1199, allocations: 142.1 kB / 474.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/0.12, allocations: 25.7 kB / 474.5 MB, free: 9.574 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.948e-05/0.12, allocations: 108.1 kB / 474.6 MB, free: 9.465 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.75e-05/0.1201, allocations: 27.56 kB / 474.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.175e-05/0.1201, allocations: 21.7 kB / 474.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1202, allocations: 322.8 kB / 474.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002944/0.1206, allocations: 71.92 kB / 475 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003001/0.1209, allocations: 85.58 kB / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005516/0.1214, allocations: 144.8 kB / 475.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1214, allocations: 0 / 475.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006372/0.1221, allocations: 197.7 kB / 475.4 MB, free: 8.582 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1221, allocations: 7.062 kB / 475.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1221, allocations: 7.922 kB / 475.5 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.1221, allocations: 7.938 kB / 475.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.1224, allocations: 39.97 kB / 475.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1224, allocations: 3.984 kB / 475.5 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.1226, allocations: 27.91 kB / 475.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1226, allocations: 0 / 475.5 MB, free: 8.492 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 (10): * Single equations (assignments): 10 * 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 8.817e-05/0.1227, allocations: 125.8 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.1227, allocations: 7.906 kB / 475.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006798/0.1234, allocations: 206.2 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1234, allocations: 0 / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1234, allocations: 0 / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1234, allocations: 3.938 kB / 475.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009478/0.1244, allocations: 494.2 kB / 476.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1244, allocations: 0 / 476.3 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.1246, allocations: 39.97 kB / 476.4 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.1246, allocations: 3.938 kB / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1246, allocations: 0 / 476.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1246, allocations: 7.984 kB / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1246, allocations: 0 / 476.4 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006607/0.1253, allocations: 279.2 kB / 476.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.1254, allocations: 88.95 kB / 476.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1254, allocations: 4 kB / 476.8 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.1256, allocations: 24.61 kB / 476.8 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.07e-05/0.1256, allocations: 15.98 kB / 476.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1257, allocations: 7.938 kB / 476.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.12e-05/0.1257, allocations: 113.6 kB / 476.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1258, allocations: 0 / 476.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002826/0.126, allocations: 31.98 kB / 477 MB, free: 6.965 MB / 350.1 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 (9): * Single equations (assignments): 9 * 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.0009993/0.127, allocations: 456.2 kB / 477.4 MB, free: 6.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006574/0.1277, allocations: 163.8 kB / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1277, allocations: 0 / 477.6 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.1281, allocations: 79.86 kB / 477.6 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004353/0.1285, allocations: 27.5 kB / 477.7 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005406/0.1291, allocations: 231.7 kB / 477.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003252/0.1294, allocations: 0.6963 MB / 478.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.1295, allocations: 15.44 kB / 478.6 MB, free: 5.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1295, allocations: 4 kB / 478.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of Templates: time 0.004031/0.1335, allocations: 2.134 MB / 480.7 MB, free: 3.301 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches