Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001501/0.001501, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2066/0.2066, allocations: 46.9 MB / 361.3 MB, free: 4.457 MB / 286.1 MB " [Timeout remaining time 180] 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 83.86 kB / 0.4971 GB, free: 7.578 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2909, allocations: 66.03 MB / 0.5616 GB, free: 4.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.002897/0.2938, allocations: 1.668 MB / 0.5632 GB, free: 2.969 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001007/0.2948, allocations: 0.6122 MB / 0.5638 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.2949, allocations: 0 / 0.5638 GB, free: 2.355 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005735/0.2955, allocations: 451.1 kB / 0.5642 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.2959, allocations: 295.3 kB / 0.5645 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003894/0.2963, allocations: 174.9 kB / 0.5647 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002215/0.2965, allocations: 183.6 kB / 0.5648 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.585e-05/0.2966, allocations: 19.62 kB / 0.5649 GB, free: 1.262 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001141/0.2967, allocations: 111.7 kB / 0.565 GB, free: 1.152 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002621/0.297, allocations: 255.5 kB / 0.5652 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.297, allocations: 4 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.184e-05/0.2971, allocations: 35.98 kB / 0.5652 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.2972, allocations: 79.7 kB / 0.5653 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.443e-05/0.2973, allocations: 110.9 kB / 0.5654 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.2976, allocations: 269.4 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2976, allocations: 0 / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2976, allocations: 0 / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.2976, allocations: 0 / 0.5657 GB, free: 424 kB / 398.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.0007331/0.2983, allocations: 0.5854 MB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.2983, allocations: 8.031 kB / 0.5663 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.339e-05/0.2984, allocations: 52.61 kB / 0.5663 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.2987, allocations: 242.8 kB / 0.5665 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.2987, allocations: 12.31 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.2987, allocations: 4.375 kB / 0.5666 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.2989, allocations: 66.17 kB / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.2989, allocations: 192 / 0.5666 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.2989, allocations: 3.938 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-06/0.2989, allocations: 0 / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001414/0.2991, allocations: 43.95 kB / 0.5667 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.2996, allocations: 371.8 kB / 0.567 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.2997, allocations: 50.48 kB / 0.5671 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.499e-05/0.2998, allocations: 24.94 kB / 0.5671 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.2998, allocations: 4 kB / 0.5671 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2998, allocations: 30.56 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2998, allocations: 4 kB / 0.5671 GB, free: 14.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008488/0.3007, allocations: 320.5 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.3007, allocations: 51.41 kB / 0.5675 GB, free: 14.42 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008591/0.3016, allocations: 0.8691 MB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.3016, allocations: 33.64 kB / 0.5684 GB, free: 13.5 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001689/0.3018, allocations: 212.1 kB / 0.5686 GB, free: 13.29 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.044e-05/0.3018, allocations: 27.84 kB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.3018, allocations: 21.72 kB / 0.5686 GB, free: 13.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.302, allocations: 362.7 kB / 0.569 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3021, allocations: 35.97 kB / 0.569 GB, free: 12.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.3023, allocations: 48.03 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.3025, allocations: 88.73 kB / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3025, allocations: 0 / 0.5691 GB, free: 12.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003365/0.3028, allocations: 161.3 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.3028, allocations: 10.03 kB / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.3028, allocations: 0 / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3029, allocations: 0 / 0.5693 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.303, allocations: 23.97 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.303, allocations: 0 / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.303, allocations: 8 kB / 0.5693 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.303, allocations: 3.984 kB / 0.5693 GB, free: 12.49 MB / 414.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 (7): * Single equations (assignments): 7 * 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.0002049/0.3033, allocations: 221.7 kB / 0.5695 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.001e-05/0.3033, allocations: 43.72 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004084/0.3037, allocations: 185.4 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3037, allocations: 3.938 kB / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.3037, allocations: 0 / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3037, allocations: 0 / 0.5698 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006974/0.3044, allocations: 497.4 kB / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3044, allocations: 0 / 0.5702 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.972e-05/0.3045, allocations: 19.98 kB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3045, allocations: 0 / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.384e-06/0.3045, allocations: 0 / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.3045, allocations: 4 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/0.3045, allocations: 7.938 kB / 0.5703 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.3049, allocations: 267.8 kB / 0.5705 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.305, allocations: 31.72 kB / 0.5705 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.833e-05/0.305, allocations: 7.969 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.3051, allocations: 12 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.67e-05/0.3051, allocations: 7.922 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.3051, allocations: 4 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006523/0.3058, allocations: 0.655 MB / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3058, allocations: 0 / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002454/0.306, allocations: 24 kB / 0.5712 GB, free: 10.44 MB / 414.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 (7): * Single equations (assignments): 7 * 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.001404/0.3074, allocations: 404 kB / 0.5716 GB, free: 10.18 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003199/0.3078, allocations: 95.84 kB / 0.5717 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3078, allocations: 4 kB / 0.5717 GB, free: 10.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.3079, allocations: 47.95 kB / 0.5718 GB, free: 10.03 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.3082, allocations: 29.67 kB / 0.5718 GB, free: 10 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.3094, allocations: 0.8339 MB / 0.5726 GB, free: 9.145 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004708/0.3098, allocations: 0.827 MB / 0.5734 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.308e-05/0.3099, allocations: 28.64 kB / 0.5734 GB, free: 8.258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.676e-05/0.31, allocations: 15.44 kB / 0.5735 GB, free: 8.242 MB / 414.1 MB Notification: Performance of SimCode: time 3.01e-07/0.31, allocations: 0 / 0.5735 GB, free: 8.242 MB / 414.1 MB Notification: Performance of Templates: time 0.004846/0.3148, allocations: 1.662 MB / 0.5751 GB, free: 6.586 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.683759364299476]