Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001208/0.001208, 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.001072/0.001072, 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.322/1.322, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2135/0.2135, allocations: 46.11 MB / 344.3 MB, free: 11.79 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 82.48 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1033, allocations: 62.43 MB / 479.9 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002798/0.1062, allocations: 1.708 MB / 481.6 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.1071, allocations: 0.5573 MB / 482.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.347e-05/0.1071, allocations: 0 / 482.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002657/0.1074, allocations: 95.8 kB / 482.3 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1076, allocations: 99.7 kB / 482.4 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.1079, allocations: 103.2 kB / 482.5 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1081, allocations: 91.8 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1082, allocations: 27.98 kB / 482.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.553e-05/0.1082, allocations: 51.77 kB / 482.7 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.441e-05/0.1083, allocations: 51.83 kB / 482.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.1084, allocations: 4 kB / 482.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.948e-05/0.1084, allocations: 47.97 kB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.1085, allocations: 27.92 kB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.712e-05/0.1086, allocations: 47.61 kB / 482.8 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1087, allocations: 96.08 kB / 482.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.1087, allocations: 0 / 482.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1087, allocations: 4 kB / 482.9 MB, free: 2.703 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1088, allocations: 0 / 482.9 MB, free: 2.703 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004618/0.1092, allocations: 438.8 kB / 483.4 MB, free: 2.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.1093, allocations: 8.031 kB / 483.4 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.1093, allocations: 12.84 kB / 483.4 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.1095, allocations: 200.5 kB / 483.6 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.1095, allocations: 8.375 kB / 483.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.418e-05/0.1095, allocations: 8.375 kB / 483.6 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1097, allocations: 81.72 kB / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1097, allocations: 0 / 483.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1097, allocations: 4 kB / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1097, allocations: 0 / 483.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.1099, allocations: 51.89 kB / 483.7 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1103, allocations: 348.6 kB / 484.1 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.1104, allocations: 66.48 kB / 484.1 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.541e-05/0.1105, allocations: 24.86 kB / 484.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.1105, allocations: 7.984 kB / 484.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.1106, allocations: 34.56 kB / 484.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.1106, allocations: 0 / 484.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001019/0.1116, allocations: 340.8 kB / 484.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.1116, allocations: 59.41 kB / 484.6 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1119, allocations: 231.5 kB / 484.8 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.34e-05/0.1119, allocations: 29.7 kB / 484.8 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.1119, allocations: 112 kB / 484.9 MB, free: 488 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.112, allocations: 47.3 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/0.112, allocations: 29.7 kB / 485 MB, free: 404 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1122, allocations: 326.8 kB / 485.3 MB, free: 68 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.1123, allocations: 43.97 kB / 485.4 MB, free: 24 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.1124, allocations: 59.72 kB / 485.4 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002023/0.1126, allocations: 104.8 kB / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1126, allocations: 0 / 485.5 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002802/0.1129, allocations: 153.4 kB / 485.7 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.1129, allocations: 11.98 kB / 485.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1129, allocations: 3.984 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.1129, allocations: 3.938 kB / 485.7 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1131, allocations: 27.98 kB / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.1131, allocations: 0 / 485.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.447e-05/0.1131, allocations: 8 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.1131, allocations: 4 kB / 485.8 MB, free: 15.65 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 (13): * Single equations (assignments): 13 * 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.0001038/0.1132, allocations: 137.8 kB / 485.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.1133, allocations: 11.84 kB / 485.9 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000362/0.1137, allocations: 207.6 kB / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1137, allocations: 0 / 486.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1137, allocations: 4 kB / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1137, allocations: 0 / 486.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006113/0.1143, allocations: 0.4913 MB / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1143, allocations: 0 / 486.6 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.279e-05/0.1144, allocations: 35.92 kB / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.1144, allocations: 0 / 486.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.1144, allocations: 3.984 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1145, allocations: 4 kB / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1145, allocations: 0 / 486.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.1148, allocations: 259.5 kB / 486.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.1148, allocations: 92.86 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.1148, allocations: 8 kB / 487 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.718e-05/0.1149, allocations: 7.984 kB / 487 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.448e-05/0.115, allocations: 11.92 kB / 487 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.115, allocations: 8 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.1151, allocations: 181.2 kB / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1151, allocations: 0 / 487.2 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002523/0.1154, allocations: 28 kB / 487.2 MB, free: 14.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.000966/0.1164, allocations: 444.5 kB / 487.7 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.1166, allocations: 119.8 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1166, allocations: 0 / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.1168, allocations: 59.91 kB / 487.8 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.1171, allocations: 19.98 kB / 487.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005904/0.1177, allocations: 407.3 kB / 488.3 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.118, allocations: 0.7278 MB / 489 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.1181, allocations: 15.44 kB / 489 MB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1181, allocations: 0 / 489 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.00352/0.1216, allocations: 2.154 MB / 491.1 MB, free: 10.24 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches