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.001049/0.001049, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2132/0.2132, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 78.75 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1048, allocations: 62.45 MB / 481.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002862/0.1077, allocations: 1.697 MB / 483.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009055/0.1086, allocations: 0.5884 MB / 483.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.109e-05/0.1087, allocations: 4 kB / 483.7 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001725/0.1089, allocations: 39.7 kB / 483.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002411/0.1091, allocations: 79.56 kB / 483.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000365/0.1095, allocations: 183.4 kB / 484 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.1097, allocations: 91.75 kB / 484.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.478e-05/0.1098, allocations: 23.98 kB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.236e-05/0.1099, allocations: 39.78 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.143e-05/0.1099, allocations: 47.77 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.586e-05/0.11, allocations: 4 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.1101, allocations: 103.9 kB / 484.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.1102, allocations: 27.86 kB / 484.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.1102, allocations: 39.78 kB / 484.4 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.1105, allocations: 155.6 kB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1105, allocations: 0 / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1105, allocations: 4 kB / 484.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.1105, allocations: 0 / 484.6 MB, free: 1.402 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.0005351/0.111, allocations: 443 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.878e-05/0.1111, allocations: 8.031 kB / 485 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.699e-05/0.1111, allocations: 8.844 kB / 485 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.1113, allocations: 207.7 kB / 485.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1113, allocations: 8.375 kB / 485.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1114, allocations: 3.938 kB / 485.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.1116, allocations: 95.36 kB / 485.3 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1116, allocations: 3.906 kB / 485.3 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1116, allocations: 4 kB / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1116, allocations: 0 / 485.3 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002896/0.1119, allocations: 71.86 kB / 485.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005144/0.1125, allocations: 340.7 kB / 485.7 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.1127, allocations: 78.52 kB / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001631/0.1129, allocations: 52.94 kB / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.1129, allocations: 0 / 485.9 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.1129, allocations: 42.48 kB / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.1129, allocations: 0 / 485.9 MB, free: 15.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001459/0.1144, allocations: 412.8 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.1144, allocations: 85.05 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.1146, allocations: 157.5 kB / 486.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.1146, allocations: 25.7 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.272e-05/0.1147, allocations: 96.14 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.479e-05/0.1147, allocations: 27.55 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.1148, allocations: 33.73 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.022e-05/0.1149, allocations: 326.8 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.1151, allocations: 79.91 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002626/0.1154, allocations: 101.6 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005002/0.1159, allocations: 160.7 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1159, allocations: 0 / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005625/0.1165, allocations: 217.3 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1165, allocations: 4 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1165, allocations: 4 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1165, allocations: 0 / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.1167, allocations: 47.89 kB / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1168, allocations: 0 / 487.6 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.1169, allocations: 23.97 kB / 487.7 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.1169, allocations: 0 / 487.7 MB, free: 14.06 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.217e-05/0.117, allocations: 129.8 kB / 487.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.1171, allocations: 7.906 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006136/0.1177, allocations: 230.4 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1177, allocations: 3.938 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1177, allocations: 96 / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1177, allocations: 3.938 kB / 488 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008486/0.1186, allocations: 0.514 MB / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1186, allocations: 0 / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.1188, allocations: 39.95 kB / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1188, allocations: 0 / 488.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1188, allocations: 4 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.1188, allocations: 4 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1188, allocations: 0 / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005875/0.1194, allocations: 307.1 kB / 488.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.1194, allocations: 85.02 kB / 489 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.366e-05/0.1195, allocations: 4 kB / 489 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.1196, allocations: 20.34 kB / 489 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.1197, allocations: 23.92 kB / 489 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.1197, allocations: 7.938 kB / 489 MB, free: 12.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1198, allocations: 119.2 kB / 489.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1198, allocations: 0 / 489.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1201, allocations: 51.98 kB / 489.2 MB, free: 12.42 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.001017/0.1212, allocations: 497.8 kB / 489.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005844/0.1217, allocations: 175.8 kB / 489.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1218, allocations: 0 / 489.9 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002764/0.122, allocations: 95.91 kB / 489.9 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1224, allocations: 23.92 kB / 490 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.1229, allocations: 234.2 kB / 490.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.1231, allocations: 0.7119 MB / 490.9 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.472e-05/0.1232, allocations: 32.52 kB / 490.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.1233, allocations: 19.42 kB / 491 MB, free: 10.75 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1233, allocations: 0 / 491 MB, free: 10.75 MB / 366.1 MB Notification: Performance of Templates: time 0.005534/0.1288, allocations: 2.571 MB / 493.5 MB, free: 8.191 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 gbode -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