Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001597/0.001603, allocations: 109 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001654/0.001654, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.4 MB / 246.3 MB, free: 10.69 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2452/0.2452, allocations: 46.13 MB / 343.7 MB, free: 11.73 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002539/0.00254, allocations: 84.11 kB / 416.9 MB, free: 20.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1194, allocations: 62.46 MB / 479.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003457/0.1229, allocations: 1.751 MB / 481.1 MB, free: 3.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.124, allocations: 0.6001 MB / 481.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.124, allocations: 0 / 481.7 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.1243, allocations: 23.91 kB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.1245, allocations: 67.7 kB / 481.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004196/0.1249, allocations: 163.8 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.1251, allocations: 91.75 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1252, allocations: 16 kB / 482.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.327e-05/0.1253, allocations: 43.78 kB / 482.1 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.864e-05/0.1254, allocations: 43.77 kB / 482.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.1254, allocations: 4 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.1256, allocations: 91.94 kB / 482.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.111e-05/0.1257, allocations: 27.84 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.034e-05/0.1258, allocations: 27.81 kB / 482.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002844/0.1261, allocations: 167.8 kB / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1261, allocations: 0 / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1261, allocations: 0 / 482.5 MB, free: 2.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.1261, allocations: 4 kB / 482.5 MB, free: 2.512 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.0006884/0.1268, allocations: 435 kB / 482.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.233e-05/0.1268, allocations: 8.031 kB / 482.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.1269, allocations: 12.84 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002339/0.1271, allocations: 204.1 kB / 483.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1271, allocations: 4.375 kB / 483.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.381e-05/0.1272, allocations: 3.938 kB / 483.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.1274, allocations: 95.36 kB / 483.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.1275, allocations: 11.89 kB / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1275, allocations: 0 / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1275, allocations: 0 / 483.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003234/0.1278, allocations: 75.92 kB / 483.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.1285, allocations: 344.6 kB / 483.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.1287, allocations: 78.53 kB / 483.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.1289, allocations: 48.94 kB / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.129, allocations: 0 / 483.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.129, allocations: 34.56 kB / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.735e-06/0.129, allocations: 0 / 483.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001729/0.1307, allocations: 416.7 kB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.1308, allocations: 81.05 kB / 484.3 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/0.131, allocations: 162.4 kB / 484.5 MB, free: 344 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.131, allocations: 29.7 kB / 484.5 MB, free: 308 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.205e-05/0.1311, allocations: 92.14 kB / 484.6 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.1311, allocations: 35.55 kB / 484.6 MB, free: 176 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.738e-05/0.1312, allocations: 25.72 kB / 484.6 MB, free: 144 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1314, allocations: 318.8 kB / 484.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.1317, allocations: 79.91 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.132, allocations: 97.62 kB / 485.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005976/0.1326, allocations: 168.7 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1327, allocations: 0 / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000687/0.1334, allocations: 209.9 kB / 485.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1334, allocations: 12.08 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1334, allocations: 7.938 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1334, allocations: 0 / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.1336, allocations: 39.91 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.1337, allocations: 4 kB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.1338, allocations: 27.95 kB / 485.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1338, allocations: 4 kB / 485.6 MB, free: 15.17 MB / 366.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 0.0001161/0.134, allocations: 125.8 kB / 485.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.134, allocations: 15.89 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007044/0.1347, allocations: 214.2 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1347, allocations: 7.938 kB / 485.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1348, allocations: 3.984 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1348, allocations: 3.938 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.1358, allocations: 0.514 MB / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1358, allocations: 0 / 486.5 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.136, allocations: 35.95 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.136, allocations: 0 / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.136, allocations: 4 kB / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1361, allocations: 0 / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1361, allocations: 0 / 486.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007104/0.1368, allocations: 307.1 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.1368, allocations: 89 kB / 486.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.1369, allocations: 4 kB / 486.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.1371, allocations: 32.19 kB / 486.9 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.576e-05/0.1371, allocations: 7.984 kB / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.1372, allocations: 0 / 486.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.1373, allocations: 130.4 kB / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.093e-06/0.1373, allocations: 0 / 487.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.1376, allocations: 55.92 kB / 487.1 MB, free: 13.54 MB / 366.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.001719/0.1393, allocations: 498.3 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.14, allocations: 171.8 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.14, allocations: 4 kB / 487.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003195/0.1404, allocations: 88.09 kB / 487.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1407, allocations: 31.67 kB / 487.9 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.1413, allocations: 260 kB / 488.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1417, allocations: 0.716 MB / 488.9 MB, free: 11.9 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001214/0.1418, allocations: 36.52 kB / 488.9 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.1419, allocations: 19.42 kB / 488.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1419, allocations: 0 / 488.9 MB, free: 11.85 MB / 366.1 MB Notification: Performance of Templates: time 0.005716/0.1476, allocations: 2.381 MB / 491.3 MB, free: 9.473 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches