Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001328/0.001328, 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.00142/0.00142, 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.333/1.333, allocations: 227.4 MB / 246.9 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2001/0.2001, allocations: 46.11 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 76.5 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 62.44 MB / 479.9 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003067/0.1084, allocations: 1.676 MB / 481.6 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.1093, allocations: 0.534 MB / 482.1 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.761e-05/0.1094, allocations: 3.938 kB / 482.1 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1097, allocations: 91.8 kB / 482.2 MB, free: 3.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.1099, allocations: 95.7 kB / 482.3 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.1102, allocations: 87.83 kB / 482.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.1103, allocations: 71.83 kB / 482.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.1104, allocations: 23.97 kB / 482.5 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.714e-05/0.1105, allocations: 27.86 kB / 482.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.265e-05/0.1106, allocations: 55.81 kB / 482.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1106, allocations: 0 / 482.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.451e-05/0.1107, allocations: 43.98 kB / 482.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.111e-05/0.1107, allocations: 23.92 kB / 482.7 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.511e-05/0.1108, allocations: 43.66 kB / 482.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.1109, allocations: 75.84 kB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1109, allocations: 0 / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.21e-07/0.1109, allocations: 0 / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.111, allocations: 0 / 482.8 MB, free: 2.848 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.0004535/0.1114, allocations: 423.2 kB / 483.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1115, allocations: 8.875 kB / 483.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.1115, allocations: 16.75 kB / 483.2 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001804/0.1117, allocations: 204.6 kB / 483.4 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1117, allocations: 8.375 kB / 483.4 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1117, allocations: 4.375 kB / 483.4 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.1119, allocations: 61.73 kB / 483.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1119, allocations: 3.938 kB / 483.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1119, allocations: 0 / 483.5 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1119, allocations: 4 kB / 483.5 MB, free: 2.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.112, allocations: 23.98 kB / 483.5 MB, free: 2.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.1124, allocations: 304.7 kB / 483.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.1125, allocations: 46.5 kB / 483.9 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1126, allocations: 16.86 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.1126, allocations: 0 / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.1126, allocations: 38.64 kB / 483.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1127, allocations: 4 kB / 483.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000861/0.1135, allocations: 221.4 kB / 484.1 MB, free: 1.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.535e-05/0.1136, allocations: 51.41 kB / 484.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1138, allocations: 230.6 kB / 484.4 MB, free: 1.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1138, allocations: 29.7 kB / 484.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.418e-05/0.1139, allocations: 112.1 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.1139, allocations: 23.56 kB / 484.6 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.728e-05/0.1139, allocations: 25.7 kB / 484.6 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.114, allocations: 322.8 kB / 484.9 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.734e-05/0.1141, allocations: 19.98 kB / 484.9 MB, free: 488 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.237e-05/0.1142, allocations: 40.05 kB / 485 MB, free: 448 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.1144, allocations: 68.77 kB / 485 MB, free: 376 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1144, allocations: 0 / 485 MB, free: 376 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002021/0.1146, allocations: 97.56 kB / 485.1 MB, free: 272 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.1146, allocations: 4 kB / 485.1 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1146, allocations: 3.984 kB / 485.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1147, allocations: 0 / 485.1 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.1148, allocations: 19.98 kB / 485.2 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1148, allocations: 4 kB / 485.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.711e-05/0.1148, allocations: 11.94 kB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1148, allocations: 0 / 485.2 MB, free: 228 kB / 350.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 (8): * Single equations (assignments): 8 * 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.579e-05/0.1149, allocations: 133.8 kB / 485.3 MB, free: 84 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.115, allocations: 19.75 kB / 485.3 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002817/0.1153, allocations: 111 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.1153, allocations: 4 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1153, allocations: 0 / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1153, allocations: 7.938 kB / 485.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004825/0.1158, allocations: 407.2 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1158, allocations: 3.984 kB / 485.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.271e-05/0.1159, allocations: 19.94 kB / 485.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.1159, allocations: 7.969 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1159, allocations: 3.984 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.1159, allocations: 4 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1159, allocations: 4 kB / 485.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.1162, allocations: 204.7 kB / 486.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.929e-05/0.1162, allocations: 92.86 kB / 486.2 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.1163, allocations: 8 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.504e-05/0.1163, allocations: 4 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.422e-05/0.1164, allocations: 7.984 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1164, allocations: 3.938 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001423/0.1165, allocations: 184.3 kB / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1166, allocations: 0 / 486.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002495/0.1168, allocations: 20 kB / 486.4 MB, free: 14.89 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 (8): * Single equations (assignments): 8 * 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.001015/0.1178, allocations: 452 kB / 486.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1181, allocations: 63.95 kB / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1181, allocations: 0 / 486.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.747e-05/0.1182, allocations: 39.92 kB / 486.9 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1185, allocations: 19.92 kB / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005441/0.1191, allocations: 330.5 kB / 487.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002837/0.1194, allocations: 0.7082 MB / 488 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.1194, allocations: 19.44 kB / 488 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1194, allocations: 3.938 kB / 488 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.003393/0.1228, allocations: 1.777 MB / 489.8 MB, free: 11.58 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches