Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, 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.001187/0.001188, 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.272/1.272, allocations: 227.4 MB / 247.5 MB, free: 10.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2029/0.2029, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 72.45 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1043, allocations: 62.45 MB / 481.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002792/0.1071, allocations: 1.617 MB / 483.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008905/0.1081, allocations: 0.5416 MB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/0.1081, allocations: 4 kB / 483.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.1084, allocations: 95.73 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.1086, allocations: 115.6 kB / 483.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.1089, allocations: 111.4 kB / 483.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.1091, allocations: 79.86 kB / 484 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.1092, allocations: 27.92 kB / 484 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.1092, allocations: 39.83 kB / 484.1 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.008e-05/0.1093, allocations: 47.84 kB / 484.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.1093, allocations: 4 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.569e-05/0.1094, allocations: 47.97 kB / 484.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.812e-05/0.1095, allocations: 23.92 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.1095, allocations: 39.67 kB / 484.2 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.1097, allocations: 103.7 kB / 484.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1097, allocations: 11.92 kB / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1097, allocations: 0 / 484.3 MB, free: 1.645 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.1097, allocations: 0 / 484.3 MB, free: 1.645 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.0004142/0.1101, allocations: 422.8 kB / 484.8 MB, free: 1.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.1102, allocations: 8.031 kB / 484.8 MB, free: 1.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.1102, allocations: 12.75 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001707/0.1104, allocations: 200.1 kB / 485 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1104, allocations: 4.375 kB / 485 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1105, allocations: 4.359 kB / 485 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.1106, allocations: 69.78 kB / 485.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1106, allocations: 0 / 485.1 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.1106, allocations: 3.938 kB / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1106, allocations: 0 / 485.1 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.049e-05/0.1107, allocations: 27.97 kB / 485.1 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.1111, allocations: 304.7 kB / 485.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.676e-05/0.1112, allocations: 54.5 kB / 485.4 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.738e-05/0.1113, allocations: 16.94 kB / 485.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.1113, allocations: 8.062 kB / 485.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.878e-05/0.1113, allocations: 30.56 kB / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1113, allocations: 0 / 485.5 MB, free: 348 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008162/0.1121, allocations: 249 kB / 485.7 MB, free: 92 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1122, allocations: 51.41 kB / 485.8 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.1124, allocations: 235.1 kB / 486 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.1124, allocations: 25.7 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.1125, allocations: 104.1 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1125, allocations: 31.55 kB / 486.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.1126, allocations: 25.72 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.1127, allocations: 326.8 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.872e-05/0.1128, allocations: 27.97 kB / 486.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.979e-05/0.1128, allocations: 31.92 kB / 486.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000149/0.113, allocations: 80.73 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.113, allocations: 0 / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002036/0.1132, allocations: 113.6 kB / 486.8 MB, free: 15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.1132, allocations: 8 kB / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.1133, allocations: 0 / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.1133, allocations: 0 / 486.8 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.817e-05/0.1134, allocations: 15.98 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.485e-06/0.1134, allocations: 4 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.117e-05/0.1134, allocations: 3.938 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1135, allocations: 7.984 kB / 486.8 MB, free: 14.96 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 (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.332e-05/0.1136, allocations: 134.8 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.718e-05/0.1136, allocations: 19.8 kB / 486.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002684/0.1139, allocations: 127.3 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1139, allocations: 0 / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1139, allocations: 0 / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1139, allocations: 3.938 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005036/0.1144, allocations: 431.2 kB / 487.5 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1144, allocations: 4 kB / 487.5 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.807e-05/0.1145, allocations: 16.36 kB / 487.5 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.1145, allocations: 7.922 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.1145, allocations: 4 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1145, allocations: 0 / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1145, allocations: 0 / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1148, allocations: 208.3 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.1148, allocations: 96.84 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.245e-05/0.1149, allocations: 11.98 kB / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.799e-05/0.1149, allocations: 0 / 487.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.115, allocations: 11.94 kB / 487.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.115, allocations: 7.984 kB / 487.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001386/0.1151, allocations: 183.2 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1151, allocations: 0 / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002468/0.1154, allocations: 15.98 kB / 488.1 MB, free: 13.59 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.0009848/0.1164, allocations: 451.1 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1166, allocations: 75.94 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.1166, allocations: 3.938 kB / 488.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.1167, allocations: 35.98 kB / 488.6 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.117, allocations: 26.86 kB / 488.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.1175, allocations: 294.9 kB / 488.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002538/0.1177, allocations: 0.7187 MB / 489.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.738e-05/0.1178, allocations: 24.89 kB / 489.7 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.023e-05/0.1178, allocations: 11.44 kB / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1178, allocations: 0 / 489.7 MB, free: 12.07 MB / 366.1 MB Notification: Performance of Templates: time 0.003665/0.1215, allocations: 1.383 MB / 491.1 MB, free: 10.69 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches