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.001104/0.001104, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2108/0.2108, allocations: 46.11 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 82.58 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1102, allocations: 62.44 MB / 479.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003507/0.1138, allocations: 1.751 MB / 481.7 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.1149, allocations: 0.5962 MB / 482.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.248e-05/0.115, allocations: 4 kB / 482.3 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1153, allocations: 23.86 kB / 482.3 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1156, allocations: 71.75 kB / 482.4 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.1161, allocations: 167.5 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002648/0.1164, allocations: 95.69 kB / 482.6 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.1166, allocations: 16 kB / 482.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.1167, allocations: 35.84 kB / 482.7 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.1168, allocations: 43.77 kB / 482.7 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.1168, allocations: 4 kB / 482.7 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002337/0.1171, allocations: 99.88 kB / 482.8 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.1171, allocations: 19.91 kB / 482.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.1172, allocations: 27.81 kB / 482.9 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.1175, allocations: 132 kB / 483 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.1175, allocations: 0 / 483 MB, free: 2.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1175, allocations: 7.938 kB / 483 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1175, allocations: 0 / 483 MB, free: 2.633 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.0007504/0.1183, allocations: 435 kB / 483.4 MB, free: 2.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1183, allocations: 8.031 kB / 483.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.1184, allocations: 12.84 kB / 483.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1186, allocations: 192.3 kB / 483.7 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.1187, allocations: 12.38 kB / 483.7 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1187, allocations: 7.938 kB / 483.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.119, allocations: 95.36 kB / 483.8 MB, free: 1.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.119, allocations: 3.906 kB / 483.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.1191, allocations: 3.938 kB / 483.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.1191, allocations: 0 / 483.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.1194, allocations: 75.91 kB / 483.8 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.12, allocations: 344.7 kB / 484.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000242/0.1203, allocations: 78.47 kB / 484.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001702/0.1205, allocations: 52.88 kB / 484.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1205, allocations: 0 / 484.3 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.1205, allocations: 34.56 kB / 484.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1206, allocations: 0 / 484.3 MB, free: 1.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001596/0.1222, allocations: 412.8 kB / 484.7 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1222, allocations: 81.05 kB / 484.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001645/0.1224, allocations: 158.5 kB / 485 MB, free: 476 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.1224, allocations: 25.7 kB / 485 MB, free: 444 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.1225, allocations: 100.1 kB / 485.1 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.1225, allocations: 35.55 kB / 485.1 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.417e-05/0.1226, allocations: 25.66 kB / 485.2 MB, free: 272 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.1227, allocations: 318.8 kB / 485.5 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002851/0.123, allocations: 75.92 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.1233, allocations: 101.6 kB / 485.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.1238, allocations: 164.7 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1239, allocations: 4 kB / 485.8 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000636/0.1245, allocations: 209.3 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.1245, allocations: 8 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.1245, allocations: 4 kB / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1246, allocations: 0 / 486 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.1248, allocations: 47.83 kB / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1248, allocations: 384 / 486.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.125, allocations: 23.95 kB / 486.1 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.125, allocations: 8 kB / 486.1 MB, free: 15.3 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.0001021/0.1251, allocations: 121.8 kB / 486.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.1252, allocations: 11.84 kB / 486.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006819/0.1259, allocations: 226.1 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1259, allocations: 3.938 kB / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1259, allocations: 0 / 486.5 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.1259, allocations: 4 kB / 486.5 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009702/0.1269, allocations: 0.5139 MB / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1269, allocations: 0 / 487 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001847/0.1271, allocations: 44.27 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.1271, allocations: 7.938 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.1271, allocations: 0 / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.1271, allocations: 4 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1271, allocations: 0 / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006676/0.1278, allocations: 307.1 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.1279, allocations: 85.02 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.378e-05/0.1279, allocations: 11.98 kB / 487.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.1281, allocations: 19.97 kB / 487.4 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.1282, allocations: 15.97 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1282, allocations: 4 kB / 487.5 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1283, allocations: 118.5 kB / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1283, allocations: 0 / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003217/0.1286, allocations: 55.98 kB / 487.6 MB, free: 13.66 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.00115/0.1298, allocations: 496.3 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006652/0.1305, allocations: 175.8 kB / 488.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1305, allocations: 4 kB / 488.3 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002996/0.1308, allocations: 83.86 kB / 488.4 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1312, allocations: 27.92 kB / 488.4 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005504/0.1318, allocations: 282.2 kB / 488.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.1321, allocations: 0.7004 MB / 489.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.1322, allocations: 23.42 kB / 489.4 MB, free: 12 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1322, allocations: 4 kB / 489.4 MB, free: 11.99 MB / 366.1 MB Notification: Performance of Templates: time 0.004818/0.1371, allocations: 2.604 MB / 492 MB, free: 9.391 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/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_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches