Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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 trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001309/0.001309, allocations: 109.5 kB / 17.32 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 205.8 kB / 18.26 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.4 MB, free: 10.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2181/0.2181, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 74.19 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1134, allocations: 62.45 MB / 479.5 MB, free: 5.605 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00292/0.1164, allocations: 1.747 MB / 481.2 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.1174, allocations: 0.5845 MB / 481.8 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.55e-05/0.1175, allocations: 4 kB / 481.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1178, allocations: 27.86 kB / 481.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002793/0.1181, allocations: 75.73 kB / 481.9 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.1185, allocations: 163.1 kB / 482.1 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001824/0.1187, allocations: 99.69 kB / 482.2 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1188, allocations: 23.97 kB / 482.2 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.081e-05/0.1189, allocations: 35.86 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.198e-05/0.119, allocations: 51.7 kB / 482.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.119, allocations: 8 kB / 482.3 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.1192, allocations: 99.92 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.789e-05/0.1193, allocations: 19.92 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.883e-05/0.1193, allocations: 39.73 kB / 482.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003216/0.1197, allocations: 167.8 kB / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1197, allocations: 0 / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1197, allocations: 0 / 482.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1197, allocations: 0 / 482.6 MB, free: 2.453 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.0006032/0.1203, allocations: 439 kB / 483 MB, free: 1.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.1204, allocations: 12.03 kB / 483.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1204, allocations: 12.84 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1206, allocations: 203.7 kB / 483.3 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1206, allocations: 4.312 kB / 483.3 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.1207, allocations: 15.88 kB / 483.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.1209, allocations: 91.36 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.121, allocations: 3.906 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.121, allocations: 4 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.121, allocations: 0 / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.1213, allocations: 67.92 kB / 483.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.1219, allocations: 344.7 kB / 483.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002386/0.1222, allocations: 74.52 kB / 483.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1224, allocations: 52.94 kB / 483.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1224, allocations: 8.062 kB / 483.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.1224, allocations: 34.56 kB / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1224, allocations: 0 / 484 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001622/0.1241, allocations: 412.8 kB / 484.4 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.975e-05/0.1241, allocations: 81.05 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.1243, allocations: 158.5 kB / 484.6 MB, free: 280 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.1243, allocations: 25.7 kB / 484.6 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.189e-05/0.1244, allocations: 96.12 kB / 484.7 MB, free: 148 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.1244, allocations: 27.56 kB / 484.7 MB, free: 120 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.274e-05/0.1245, allocations: 29.7 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1246, allocations: 326.8 kB / 485.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.1249, allocations: 71.92 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002972/0.1252, allocations: 101.6 kB / 485.3 MB, free: 15.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005654/0.1258, allocations: 168.9 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1258, allocations: 3.938 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006528/0.1265, allocations: 217.2 kB / 485.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1265, allocations: 6.812 kB / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.1265, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1265, allocations: 0 / 485.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.1268, allocations: 51.89 kB / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.1268, allocations: 0 / 485.7 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.1269, allocations: 19.97 kB / 485.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.127, allocations: 4 kB / 485.7 MB, free: 15.11 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.0001121/0.1271, allocations: 125.8 kB / 485.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.1271, allocations: 7.906 kB / 485.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006883/0.1278, allocations: 222.2 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1278, allocations: 3.938 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.1279, allocations: 4 kB / 486.1 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1279, allocations: 4 kB / 486.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009336/0.1288, allocations: 0.5177 MB / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1288, allocations: 384 / 486.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.129, allocations: 35.97 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.129, allocations: 4 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.129, allocations: 4 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.129, allocations: 3.984 kB / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.129, allocations: 0 / 486.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.1297, allocations: 311.3 kB / 486.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.451e-05/0.1298, allocations: 81.02 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.847e-05/0.1298, allocations: 8 kB / 487 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001803/0.13, allocations: 27.95 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.1301, allocations: 11.98 kB / 487.1 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1301, allocations: 7.984 kB / 487.1 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.935e-05/0.1302, allocations: 118.3 kB / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1302, allocations: 4 kB / 487.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003357/0.1305, allocations: 48 kB / 487.2 MB, free: 13.48 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.001065/0.1316, allocations: 491 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006539/0.1323, allocations: 191.7 kB / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1323, allocations: 0 / 487.9 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.1326, allocations: 91.91 kB / 488 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.133, allocations: 26.33 kB / 488 MB, free: 12.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004704/0.1334, allocations: 266.2 kB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.1337, allocations: 0.708 MB / 489 MB, free: 11.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000109/0.1338, allocations: 32.47 kB / 489 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.922e-05/0.1339, allocations: 19.42 kB / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1339, allocations: 0 / 489 MB, free: 11.78 MB / 366.1 MB Notification: Performance of Templates: time 0.005092/0.139, allocations: 2.442 MB / 491.5 MB, free: 9.352 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches