Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.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_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009614/0.0009616, allocations: 95.77 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001297/0.001297, allocations: 201.3 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.7 MB / 247.5 MB, free: 11.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1907/0.1907, allocations: 46.18 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000263/0.000263, allocations: 8 kB / 420.2 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1185, allocations: 63.57 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002156/0.1207, allocations: 1.415 MB / 485.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001/0.1218, allocations: 0.5495 MB / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.957e-05/0.1219, allocations: 0 / 485.7 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001854/0.122, allocations: 23.86 kB / 485.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.1223, allocations: 71.75 kB / 485.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.1227, allocations: 115.3 kB / 485.9 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.1229, allocations: 91.69 kB / 486 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.488e-05/0.123, allocations: 16 kB / 486 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.755e-05/0.123, allocations: 31.84 kB / 486 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.508e-05/0.1231, allocations: 39.77 kB / 486.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.1232, allocations: 4 kB / 486.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001944/0.1234, allocations: 103.8 kB / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.1234, allocations: 15.98 kB / 486.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.1235, allocations: 57.44 kB / 486.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.1237, allocations: 120 kB / 486.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1237, allocations: 0 / 486.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1237, allocations: 4 kB / 486.4 MB, free: 1.504 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.491e-06/0.1237, allocations: 0 / 486.4 MB, free: 1.504 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.0006002/0.1243, allocations: 437.3 kB / 486.8 MB, free: 1.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1244, allocations: 8.031 kB / 486.8 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.429e-05/0.1244, allocations: 8.844 kB / 486.8 MB, free: 1.016 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1247, allocations: 199.8 kB / 487 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.978e-06/0.1247, allocations: 4.375 kB / 487 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1247, allocations: 7.938 kB / 487 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.125, allocations: 99.36 kB / 487.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.125, allocations: 0 / 487.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.125, allocations: 4 kB / 487.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1251, allocations: 0 / 487.1 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.1254, allocations: 95.84 kB / 487.2 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.1259, allocations: 308.7 kB / 487.5 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.1261, allocations: 86.53 kB / 487.6 MB, free: 124 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.1263, allocations: 60.88 kB / 487.7 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.1264, allocations: 4 kB / 487.7 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.1264, allocations: 34.56 kB / 487.7 MB, free: 12 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1264, allocations: 0 / 487.7 MB, free: 12 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001726/0.1281, allocations: 476.8 kB / 488.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.1282, allocations: 89.05 kB / 488.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.1284, allocations: 154.4 kB / 488.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1284, allocations: 25.7 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.1285, allocations: 92.14 kB / 488.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.937e-05/0.1285, allocations: 31.62 kB / 488.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.1285, allocations: 17.72 kB / 488.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1287, allocations: 318.8 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003214/0.129, allocations: 95.92 kB / 489 MB, free: 14.67 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.1293, allocations: 113.6 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006048/0.1299, allocations: 192.7 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1299, allocations: 4 kB / 489.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006839/0.1306, allocations: 241.3 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1307, allocations: 4 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1307, allocations: 3.938 kB / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/0.1307, allocations: 0 / 489.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.1309, allocations: 51.94 kB / 489.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1309, allocations: 4.375 kB / 489.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.1311, allocations: 31.97 kB / 489.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.1311, allocations: 8 kB / 489.6 MB, free: 14.02 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 9.885e-05/0.1312, allocations: 121.8 kB / 489.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.1313, allocations: 19.81 kB / 489.8 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.132, allocations: 254.1 kB / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.132, allocations: 4 kB / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.132, allocations: 0 / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.132, allocations: 0 / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/0.133, allocations: 0.5337 MB / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.133, allocations: 0 / 490.5 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.1332, allocations: 47.95 kB / 490.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1332, allocations: 0 / 490.6 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1333, allocations: 8 kB / 490.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.1333, allocations: 3.938 kB / 490.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1333, allocations: 0 / 490.6 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007116/0.134, allocations: 323.2 kB / 490.9 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.1341, allocations: 100.8 kB / 491 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1341, allocations: 0 / 491 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001908/0.1343, allocations: 35.97 kB / 491.1 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.074e-05/0.1343, allocations: 11.98 kB / 491.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.1344, allocations: 7.984 kB / 491.1 MB, free: 12.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1345, allocations: 114.6 kB / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1345, allocations: 0 / 491.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003035/0.1348, allocations: 55.98 kB / 491.2 MB, free: 12.29 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.001083/0.1359, allocations: 0.4894 MB / 491.7 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007096/0.1366, allocations: 203.8 kB / 491.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1366, allocations: 0 / 491.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003315/0.1369, allocations: 107.9 kB / 492 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.1373, allocations: 19.98 kB / 492.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004429/0.1377, allocations: 258.9 kB / 492.3 MB, free: 11.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.1381, allocations: 0.7004 MB / 493 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.294e-05/0.1381, allocations: 15.44 kB / 493 MB, free: 10.6 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1381, allocations: 0 / 493 MB, free: 10.6 MB / 366.1 MB Notification: Performance of Templates: time 0.004456/0.1426, allocations: 2.493 MB / 495.5 MB, free: 8.117 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches