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.001257/0.001257, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001333/0.001333, allocations: 187 kB / 19.34 MB, free: 3.641 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.358/1.358, allocations: 222.9 MB / 243 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.2058/0.2058, allocations: 44.19 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 62.23 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1073, allocations: 60.83 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002929/0.1102, allocations: 1.654 MB / 472.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007591/0.111, allocations: 455 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.396e-05/0.1111, allocations: 4 kB / 472.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.1113, allocations: 19.86 kB / 472.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001961/0.1115, allocations: 47.66 kB / 472.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003141/0.1118, allocations: 139 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.112, allocations: 75.83 kB / 473.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.1121, allocations: 16.23 kB / 473.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.696e-05/0.1121, allocations: 39.83 kB / 473.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.1122, allocations: 39.78 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.1122, allocations: 4 kB / 473.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1123, allocations: 55.97 kB / 473.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.1124, allocations: 19.92 kB / 473.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.767e-05/0.1125, allocations: 31.8 kB / 473.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.1127, allocations: 115.6 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1127, allocations: 8 kB / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1127, allocations: 0 / 473.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.728e-06/0.1127, allocations: 0 / 473.4 MB, free: 10.93 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.0005534/0.1132, allocations: 414 kB / 473.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.1133, allocations: 8.031 kB / 473.8 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.307e-05/0.1133, allocations: 8.844 kB / 473.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.1135, allocations: 191.6 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1136, allocations: 8.359 kB / 474 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.1136, allocations: 8.375 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.1139, allocations: 91.48 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.1139, allocations: 0 / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1139, allocations: 4 kB / 474.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1139, allocations: 3.984 kB / 474.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002743/0.1142, allocations: 75.86 kB / 474.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.1146, allocations: 300.7 kB / 474.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1149, allocations: 70.47 kB / 474.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000146/0.115, allocations: 44.95 kB / 474.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.115, allocations: 7.938 kB / 474.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.1151, allocations: 34.56 kB / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1151, allocations: 0 / 474.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001477/0.1166, allocations: 380.9 kB / 475 MB, free: 9.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.656e-05/0.1166, allocations: 77.11 kB / 475.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.1168, allocations: 146.1 kB / 475.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.1168, allocations: 25.7 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.948e-05/0.1168, allocations: 100.1 kB / 475.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.1169, allocations: 35.53 kB / 475.4 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.1169, allocations: 25.72 kB / 475.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.117, allocations: 318.8 kB / 475.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002691/0.1173, allocations: 75.86 kB / 475.8 MB, free: 8.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.1176, allocations: 85.64 kB / 475.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004713/0.1181, allocations: 148.7 kB / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1181, allocations: 0 / 476 MB, free: 8.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005465/0.1186, allocations: 189.4 kB / 476.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1187, allocations: 8 kB / 476.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1187, allocations: 0 / 476.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1187, allocations: 0 / 476.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.1189, allocations: 47.89 kB / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1189, allocations: 384 / 476.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1191, allocations: 27.91 kB / 476.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1191, allocations: 4.375 kB / 476.3 MB, free: 7.781 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.255e-05/0.1192, allocations: 113.8 kB / 476.4 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.432e-05/0.1192, allocations: 19.83 kB / 476.4 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.1198, allocations: 198.2 kB / 476.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1198, allocations: 0 / 476.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1198, allocations: 7.984 kB / 476.6 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1199, allocations: 11.94 kB / 476.7 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008275/0.1207, allocations: 482.2 kB / 477.1 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1207, allocations: 4 kB / 477.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/0.1209, allocations: 39.89 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1209, allocations: 7.875 kB / 477.2 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1209, allocations: 4 kB / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1209, allocations: 0 / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1209, allocations: 0 / 477.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005977/0.1215, allocations: 283.2 kB / 477.5 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.1216, allocations: 88.95 kB / 477.5 MB, free: 6.441 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1216, allocations: 3.984 kB / 477.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1218, allocations: 31.97 kB / 477.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.1219, allocations: 7.984 kB / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.083e-06/0.1219, allocations: 0 / 477.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.25e-05/0.122, allocations: 117.8 kB / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.122, allocations: 0 / 477.7 MB, free: 6.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.1223, allocations: 32 kB / 477.7 MB, free: 6.254 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.0009649/0.1232, allocations: 463.2 kB / 478.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005819/0.1238, allocations: 163.8 kB / 478.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1238, allocations: 0 / 478.3 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002624/0.1241, allocations: 79.86 kB / 478.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.1245, allocations: 23.36 kB / 478.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.1249, allocations: 217.9 kB / 478.7 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.1252, allocations: 0.6963 MB / 479.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.223e-05/0.1253, allocations: 16.42 kB / 479.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.34e-05/0.1254, allocations: 19.42 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1254, allocations: 0 / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of Templates: time 0.004776/0.1302, allocations: 2.095 MB / 481.5 MB, free: 2.633 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 -s gbode -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