Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 109.9 kB / 18.3 MB, free: 4.883 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.001254/0.001254, allocations: 195.5 kB / 19.23 MB, free: 3.961 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.388/1.388, allocations: 222.9 MB / 242.9 MB, free: 15.2 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.206/0.206, allocations: 44.17 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 61.75 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1065, allocations: 60.82 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003408/0.1099, allocations: 1.646 MB / 471.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008433/0.1108, allocations: 486.9 kB / 472 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.1109, allocations: 4 kB / 472 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.1111, allocations: 23.86 kB / 472.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.1113, allocations: 31.78 kB / 472.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004208/0.1117, allocations: 190.5 kB / 472.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.1119, allocations: 87.7 kB / 472.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.112, allocations: 16.22 kB / 472.4 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.237e-05/0.1121, allocations: 31.86 kB / 472.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.767e-05/0.1121, allocations: 39.83 kB / 472.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1122, allocations: 12 kB / 472.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.1123, allocations: 55.97 kB / 472.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.507e-05/0.1124, allocations: 27.86 kB / 472.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.863e-05/0.1124, allocations: 31.78 kB / 472.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.1126, allocations: 119.9 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1127, allocations: 3.938 kB / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1127, allocations: 0 / 472.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.1127, allocations: 0 / 472.7 MB, free: 11.57 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.0006339/0.1133, allocations: 418.1 kB / 473.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1134, allocations: 8.031 kB / 473.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.991e-05/0.1134, allocations: 16.84 kB / 473.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1136, allocations: 196.1 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.1137, allocations: 384 / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.1137, allocations: 4.375 kB / 473.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002827/0.114, allocations: 103.4 kB / 473.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.114, allocations: 4 kB / 473.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.114, allocations: 0 / 473.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.114, allocations: 4 kB / 473.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000311/0.1144, allocations: 75.91 kB / 473.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.1149, allocations: 336.7 kB / 473.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1152, allocations: 70.53 kB / 473.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.1154, allocations: 56.88 kB / 474 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.1154, allocations: 7.984 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.1155, allocations: 38.55 kB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.1155, allocations: 0 / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001646/0.1171, allocations: 408.8 kB / 474.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.722e-05/0.1172, allocations: 81.11 kB / 474.5 MB, free: 9.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.1173, allocations: 137.8 kB / 474.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1174, allocations: 29.7 kB / 474.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.502e-05/0.1174, allocations: 100.1 kB / 474.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1175, allocations: 31.55 kB / 474.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.1175, allocations: 21.72 kB / 474.8 MB, free: 9.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1177, allocations: 322.8 kB / 475.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002918/0.118, allocations: 75.92 kB / 475.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.1183, allocations: 97.62 kB / 475.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.1189, allocations: 176.9 kB / 475.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1189, allocations: 0 / 475.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006654/0.1195, allocations: 213.4 kB / 475.7 MB, free: 8.359 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1196, allocations: 4 kB / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1196, allocations: 0 / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1196, allocations: 0 / 475.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002296/0.1198, allocations: 43.95 kB / 475.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1198, allocations: 0 / 475.7 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001479/0.12, allocations: 23.91 kB / 475.7 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.12, allocations: 11.98 kB / 475.8 MB, free: 8.277 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 9.62e-05/0.1201, allocations: 117.8 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.818e-05/0.1202, allocations: 7.906 kB / 475.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007043/0.1209, allocations: 226.1 kB / 476.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1209, allocations: 0 / 476.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1209, allocations: 0 / 476.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1209, allocations: 7.938 kB / 476.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009845/0.1219, allocations: 0.5101 MB / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1219, allocations: 384 / 476.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.1221, allocations: 39.95 kB / 476.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.1221, allocations: 12.16 kB / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.1221, allocations: 0 / 476.7 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1221, allocations: 4 kB / 476.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1221, allocations: 3.938 kB / 476.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006752/0.1228, allocations: 299.2 kB / 477 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.1229, allocations: 92.94 kB / 477.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1229, allocations: 0 / 477.1 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.1231, allocations: 23.97 kB / 477.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.1232, allocations: 11.98 kB / 477.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1232, allocations: 4 kB / 477.1 MB, free: 6.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.521e-05/0.1233, allocations: 117.8 kB / 477.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1233, allocations: 0 / 477.2 MB, free: 6.715 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1236, allocations: 32 kB / 477.2 MB, free: 6.684 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.001054/0.1246, allocations: 457.9 kB / 477.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007092/0.1254, allocations: 187.8 kB / 477.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1254, allocations: 0 / 477.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003108/0.1257, allocations: 87.92 kB / 478 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003765/0.1261, allocations: 16.36 kB / 478 MB, free: 6.121 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000518/0.1266, allocations: 263.5 kB / 478.2 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.127, allocations: 0.7041 MB / 478.9 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.448e-05/0.127, allocations: 15.44 kB / 479 MB, free: 5.082 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1271, allocations: 4 kB / 479 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Templates: time 0.00464/0.1317, allocations: 2.254 MB / 481.2 MB, free: 2.84 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches