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.001182/0.001182, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001183/0.001183, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.24/1.24, allocations: 227.4 MB / 247.5 MB, free: 10.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1939/0.1939, allocations: 46.11 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001534/0.001534, allocations: 78.72 kB / 419 MB, free: 19.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1132, allocations: 62.45 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00277/0.116, allocations: 1.701 MB / 483.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009299/0.1169, allocations: 0.5922 MB / 483.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.353e-05/0.117, allocations: 4 kB / 483.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001706/0.1172, allocations: 27.84 kB / 483.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.1174, allocations: 87.5 kB / 483.9 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003747/0.1178, allocations: 186.7 kB / 484.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.118, allocations: 91.75 kB / 484.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.582e-05/0.1181, allocations: 23.98 kB / 484.2 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.1181, allocations: 35.84 kB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.572e-05/0.1182, allocations: 43.78 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.1182, allocations: 4 kB / 484.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1184, allocations: 107.9 kB / 484.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.1185, allocations: 23.92 kB / 484.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.1185, allocations: 39.78 kB / 484.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.1188, allocations: 163.6 kB / 484.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1188, allocations: 3.938 kB / 484.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1188, allocations: 0 / 484.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1188, allocations: 8 kB / 484.6 MB, free: 1.414 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.0005574/0.1193, allocations: 439 kB / 485 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.1194, allocations: 8.031 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1194, allocations: 8.844 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.1196, allocations: 192.8 kB / 485.2 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1196, allocations: 8.375 kB / 485.2 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1197, allocations: 3.938 kB / 485.2 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002399/0.1199, allocations: 95.36 kB / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1199, allocations: 3.906 kB / 485.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.12, allocations: 0 / 485.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.12, allocations: 7.938 kB / 485.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.1202, allocations: 75.91 kB / 485.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.1208, allocations: 340.7 kB / 485.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002164/0.121, allocations: 86.39 kB / 485.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.1212, allocations: 52.94 kB / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.1212, allocations: 0 / 485.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.1212, allocations: 30.56 kB / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.1212, allocations: 0 / 485.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001407/0.1226, allocations: 416.8 kB / 486.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.1227, allocations: 85.05 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.1229, allocations: 157.5 kB / 486.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.1229, allocations: 25.7 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.484e-05/0.123, allocations: 100.1 kB / 486.7 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.901e-05/0.123, allocations: 31.55 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.1231, allocations: 21.72 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1232, allocations: 330.8 kB / 487.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1234, allocations: 79.91 kB / 487.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.1237, allocations: 93.64 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004679/0.1242, allocations: 164.7 kB / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1242, allocations: 0 / 487.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005336/0.1247, allocations: 217.3 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1247, allocations: 4 kB / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1247, allocations: 0 / 487.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.1248, allocations: 4 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001887/0.125, allocations: 47.83 kB / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.125, allocations: 384 / 487.7 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.1251, allocations: 27.95 kB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1251, allocations: 4 kB / 487.7 MB, free: 14.07 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.239e-05/0.1252, allocations: 117.8 kB / 487.8 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.574e-05/0.1253, allocations: 11.84 kB / 487.8 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005898/0.1259, allocations: 226.2 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.1259, allocations: 3.938 kB / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.1259, allocations: 0 / 488 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1259, allocations: 7.984 kB / 488 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.1267, allocations: 0.5101 MB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1267, allocations: 3.938 kB / 488.6 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000165/0.1269, allocations: 47.89 kB / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1269, allocations: 0 / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.1269, allocations: 0 / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.127, allocations: 0 / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.127, allocations: 4 kB / 488.6 MB, free: 13.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.1275, allocations: 303.1 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.1276, allocations: 93 kB / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1276, allocations: 0 / 489 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001599/0.1278, allocations: 23.97 kB / 489 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.133e-05/0.1278, allocations: 11.98 kB / 489 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1279, allocations: 4.375 kB / 489 MB, free: 12.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.209e-05/0.128, allocations: 119.2 kB / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.128, allocations: 0 / 489.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1282, allocations: 51.98 kB / 489.2 MB, free: 12.45 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.0009697/0.1292, allocations: 0.4962 MB / 489.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005581/0.1298, allocations: 171.8 kB / 489.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1298, allocations: 0 / 489.9 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.1301, allocations: 95.86 kB / 490 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003009/0.1304, allocations: 23.92 kB / 490 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00041/0.1308, allocations: 234.5 kB / 490.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002474/0.131, allocations: 0.708 MB / 490.9 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.066e-05/0.1311, allocations: 32.52 kB / 491 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.1312, allocations: 15.44 kB / 491 MB, free: 10.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1312, allocations: 0 / 491 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Templates: time 0.166/0.2972, allocations: 2.564 MB / 493.5 MB, free: 8.23 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 -s cvode -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