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.0007518/0.0007518, allocations: 95.25 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008456/0.0008456, allocations: 207.7 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.344/1.344, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2189/0.2189, allocations: 46.18 MB / 345.9 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002548/0.0002549, allocations: 8.328 kB / 420.2 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1005, allocations: 63.57 MB / 483.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.0019/0.1025, allocations: 1.412 MB / 485.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009571/0.1035, allocations: 0.5768 MB / 485.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.1035, allocations: 0 / 485.7 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1037, allocations: 27.91 kB / 485.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000194/0.1039, allocations: 63.77 kB / 485.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.1043, allocations: 171.5 kB / 486 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1044, allocations: 83.77 kB / 486.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.352e-05/0.1045, allocations: 27.92 kB / 486.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.964e-05/0.1046, allocations: 27.86 kB / 486.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.823e-05/0.1047, allocations: 43.77 kB / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1047, allocations: 4 kB / 486.2 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.1049, allocations: 95.86 kB / 486.3 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.732e-05/0.1049, allocations: 19.92 kB / 486.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.129e-05/0.105, allocations: 57.5 kB / 486.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.1052, allocations: 120 kB / 486.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1052, allocations: 4 kB / 486.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1052, allocations: 7.938 kB / 486.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.1052, allocations: 0 / 486.5 MB, free: 1.395 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.0005541/0.1058, allocations: 423.2 kB / 486.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.1058, allocations: 12.03 kB / 486.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1059, allocations: 8.844 kB / 486.9 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.1061, allocations: 208.6 kB / 487.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1061, allocations: 8.359 kB / 487.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1061, allocations: 7.938 kB / 487.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1064, allocations: 103.4 kB / 487.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1064, allocations: 0 / 487.2 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1064, allocations: 4 kB / 487.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.1064, allocations: 0 / 487.2 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.1068, allocations: 95.86 kB / 487.3 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005637/0.1073, allocations: 352.7 kB / 487.7 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.1076, allocations: 94.5 kB / 487.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1078, allocations: 64.88 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.1078, allocations: 0 / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1079, allocations: 42.5 kB / 487.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 9.71e-07/0.1079, allocations: 0 / 487.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001751/0.1097, allocations: 0.4891 MB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.03e-05/0.1097, allocations: 89.05 kB / 488.4 MB, free: 15.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1099, allocations: 150.5 kB / 488.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1099, allocations: 33.7 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.11, allocations: 100.2 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.11, allocations: 27.55 kB / 488.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-05/0.11, allocations: 21.7 kB / 488.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1102, allocations: 322.8 kB / 489.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.1105, allocations: 95.92 kB / 489.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/0.1108, allocations: 125.6 kB / 489.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006273/0.1115, allocations: 208.7 kB / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1115, allocations: 0 / 489.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007127/0.1122, allocations: 265.5 kB / 489.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1122, allocations: 4 kB / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1122, allocations: 0 / 489.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.1123, allocations: 8 kB / 489.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.1125, allocations: 51.89 kB / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1125, allocations: 0 / 489.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.1127, allocations: 35.97 kB / 489.9 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/0.1127, allocations: 0 / 489.9 MB, free: 13.76 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.793e-05/0.1128, allocations: 129.8 kB / 490 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.1129, allocations: 7.906 kB / 490 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007632/0.1136, allocations: 262.2 kB / 490.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.1136, allocations: 7.938 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.1136, allocations: 3.938 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1137, allocations: 4 kB / 490.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001039/0.1147, allocations: 0.5571 MB / 490.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1147, allocations: 0 / 490.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.1149, allocations: 47.97 kB / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1149, allocations: 7.938 kB / 490.9 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.1149, allocations: 4 kB / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.115, allocations: 0 / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.115, allocations: 7.984 kB / 490.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007319/0.1157, allocations: 343.2 kB / 491.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.911e-05/0.1158, allocations: 93.38 kB / 491.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1158, allocations: 0 / 491.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.116, allocations: 39.97 kB / 491.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.1161, allocations: 7.984 kB / 491.4 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-06/0.1161, allocations: 3.938 kB / 491.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.557e-05/0.1162, allocations: 120.5 kB / 491.5 MB, free: 12.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1162, allocations: 3.938 kB / 491.5 MB, free: 12.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.1165, allocations: 51.98 kB / 491.5 MB, free: 11.97 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.001105/0.1176, allocations: 0.4889 MB / 492 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000713/0.1183, allocations: 215.8 kB / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1183, allocations: 0 / 492.2 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.1187, allocations: 116 kB / 492.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.119, allocations: 19.92 kB / 492.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004851/0.1195, allocations: 291.1 kB / 492.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.1198, allocations: 0.7043 MB / 493.4 MB, free: 10.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.342e-05/0.1198, allocations: 15.44 kB / 493.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1199, allocations: 0 / 493.4 MB, free: 10.23 MB / 366.1 MB Notification: Performance of Templates: time 0.004271/0.1241, allocations: 2.611 MB / 496 MB, free: 7.633 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