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.001144/0.001148, 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.00129/0.00129, 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.346/1.346, 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.2028/0.2028, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001408, allocations: 72.44 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1035, allocations: 62.45 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.00288/0.1064, allocations: 1.704 MB / 483.2 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009331/0.1074, allocations: 0.5688 MB / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.1075, allocations: 0 / 483.7 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001873/0.1077, allocations: 19.8 kB / 483.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002679/0.1079, allocations: 83.61 kB / 483.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003114/0.1083, allocations: 135.5 kB / 484 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1084, allocations: 95.69 kB / 484.1 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.603e-05/0.1085, allocations: 15.98 kB / 484.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.1086, allocations: 35.86 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.819e-05/0.1087, allocations: 47.81 kB / 484.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.1087, allocations: 8 kB / 484.2 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001646/0.1089, allocations: 111.8 kB / 484.3 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.048e-05/0.109, allocations: 15.97 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.394e-05/0.109, allocations: 39.73 kB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002418/0.1093, allocations: 171.4 kB / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1093, allocations: 0 / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1093, allocations: 0 / 484.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1093, allocations: 0 / 484.5 MB, free: 1.484 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.0005469/0.1098, allocations: 431.2 kB / 484.9 MB, free: 1.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.1099, allocations: 12.03 kB / 484.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.1099, allocations: 12.75 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.1101, allocations: 196.3 kB / 485.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1101, allocations: 8.375 kB / 485.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.1102, allocations: 3.938 kB / 485.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.1104, allocations: 99.3 kB / 485.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.1104, allocations: 3.938 kB / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.1105, allocations: 0 / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1105, allocations: 0 / 485.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002695/0.1107, allocations: 67.92 kB / 485.3 MB, free: 0.5742 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.1112, allocations: 316.7 kB / 485.6 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.1114, allocations: 66.47 kB / 485.7 MB, free: 144 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.1116, allocations: 52.94 kB / 485.7 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.1116, allocations: 7.984 kB / 485.7 MB, free: 80 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.3e-05/0.1116, allocations: 30.56 kB / 485.8 MB, free: 40 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1116, allocations: 0 / 485.8 MB, free: 40 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001472/0.1131, allocations: 380.8 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.1132, allocations: 88.98 kB / 486.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.1133, allocations: 154.4 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1134, allocations: 29.7 kB / 486.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.1134, allocations: 92.14 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.003e-05/0.1135, allocations: 31.55 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.506e-05/0.1135, allocations: 29.72 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1137, allocations: 322.8 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002629/0.1139, allocations: 67.92 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.1142, allocations: 89.62 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/0.1147, allocations: 152.9 kB / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1147, allocations: 0 / 487.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005529/0.1153, allocations: 189.5 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1153, allocations: 4 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.1153, allocations: 3.938 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.1153, allocations: 7.938 kB / 487.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.1155, allocations: 35.95 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1155, allocations: 0 / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001359/0.1157, allocations: 31.97 kB / 487.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1157, allocations: 3.984 kB / 487.4 MB, free: 14.28 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.64e-05/0.1158, allocations: 121.8 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.1158, allocations: 7.906 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005822/0.1164, allocations: 210 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1165, allocations: 0 / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1165, allocations: 3.938 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1165, allocations: 0 / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008021/0.1173, allocations: 0.4944 MB / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1173, allocations: 0 / 488.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001599/0.1175, allocations: 36.23 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.1175, allocations: 4 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1175, allocations: 4 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1175, allocations: 3.938 kB / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1175, allocations: 0 / 488.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.1181, allocations: 291.6 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.1182, allocations: 85 kB / 488.7 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.1182, allocations: 4 kB / 488.7 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.1184, allocations: 27.97 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.1184, allocations: 7.984 kB / 488.7 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.1184, allocations: 4 kB / 488.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.98e-05/0.1185, allocations: 122.2 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1185, allocations: 4 kB / 488.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.1188, allocations: 47.98 kB / 488.9 MB, free: 12.71 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.001151/0.12, allocations: 0.493 MB / 489.4 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000566/0.1206, allocations: 155.8 kB / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1206, allocations: 0 / 489.5 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002578/0.1208, allocations: 83.86 kB / 489.6 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003524/0.1212, allocations: 19.98 kB / 489.6 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004632/0.1217, allocations: 218.4 kB / 489.9 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.122, allocations: 0.6963 MB / 490.6 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.557e-05/0.1221, allocations: 20.41 kB / 490.6 MB, free: 11.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.436e-05/0.1221, allocations: 19.44 kB / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of SimCode: time 1.783e-06/0.1221, allocations: 0 / 490.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of Templates: time 0.005155/0.1273, allocations: 2.504 MB / 493.1 MB, free: 8.633 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 -s gbode -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