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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001787/0.001787, 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.002277/0.002277, allocations: 212.6 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.362/1.362, allocations: 230.3 MB / 258 MB, free: 8.23 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.2119/0.2119, allocations: 46.88 MB / 361.3 MB, free: 4.434 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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002315/0.002315, allocations: 75.88 kB / 0.4971 GB, free: 7.547 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2835, allocations: 66.03 MB / 0.5616 GB, free: 4.586 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.003041/0.2866, allocations: 1.675 MB / 0.5632 GB, free: 2.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2876, allocations: 0.5693 MB / 0.5637 GB, free: 2.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.2877, allocations: 4 kB / 0.5637 GB, free: 2.328 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.2879, allocations: 99.67 kB / 0.5638 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.2882, allocations: 107.6 kB / 0.5639 GB, free: 2.125 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.2885, allocations: 126.9 kB / 0.5641 GB, free: 2.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.2887, allocations: 103.7 kB / 0.5642 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2888, allocations: 23.59 kB / 0.5642 GB, free: 1.883 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.2889, allocations: 43.84 kB / 0.5642 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.289, allocations: 71.78 kB / 0.5643 GB, free: 1.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.789e-05/0.289, allocations: 4 kB / 0.5643 GB, free: 1.766 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.949e-05/0.2891, allocations: 51.91 kB / 0.5644 GB, free: 1.715 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.705e-05/0.2891, allocations: 31.86 kB / 0.5644 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.407e-05/0.2892, allocations: 43.69 kB / 0.5644 GB, free: 1.641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.2894, allocations: 130.3 kB / 0.5645 GB, free: 1.516 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2894, allocations: 4 kB / 0.5646 GB, free: 1.512 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2894, allocations: 3.938 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.2894, allocations: 0 / 0.5646 GB, free: 1.508 MB / 398.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.0005059/0.2899, allocations: 357.5 kB / 0.5649 GB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.196e-05/0.29, allocations: 8.031 kB / 0.5649 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.866e-05/0.29, allocations: 24.83 kB / 0.5649 GB, free: 1.094 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.2902, allocations: 150.8 kB / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2902, allocations: 384 / 0.5651 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.419e-05/0.2902, allocations: 12.36 kB / 0.5651 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.2905, allocations: 74.23 kB / 0.5652 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.2905, allocations: 4.141 kB / 0.5652 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.2905, allocations: 3.938 kB / 0.5652 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.2905, allocations: 4 kB / 0.5652 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.2906, allocations: 47.89 kB / 0.5652 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.2911, allocations: 315.8 kB / 0.5655 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2913, allocations: 66.5 kB / 0.5656 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.949e-05/0.2913, allocations: 20.84 kB / 0.5656 GB, free: 332 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.2913, allocations: 4 kB / 0.5656 GB, free: 328 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.2914, allocations: 34.55 kB / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2914, allocations: 0 / 0.5656 GB, free: 284 kB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001125/0.2925, allocations: 333.9 kB / 0.566 GB, free: 15.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.2925, allocations: 59.34 kB / 0.566 GB, free: 15.88 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002511/0.2928, allocations: 231.6 kB / 0.5662 GB, free: 15.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2928, allocations: 29.7 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.2929, allocations: 120 kB / 0.5664 GB, free: 15.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.387e-05/0.2929, allocations: 43.64 kB / 0.5664 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.293, allocations: 33.7 kB / 0.5664 GB, free: 15.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.2932, allocations: 326.8 kB / 0.5668 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.2933, allocations: 43.97 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2934, allocations: 43.97 kB / 0.5668 GB, free: 14.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.2936, allocations: 111.9 kB / 0.5669 GB, free: 14.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.2936, allocations: 4 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002913/0.2939, allocations: 153.5 kB / 0.5671 GB, free: 14.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.2939, allocations: 8 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.2939, allocations: 4.016 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.2939, allocations: 3.984 kB / 0.5671 GB, free: 14.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.2941, allocations: 27.92 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.2941, allocations: 7.922 kB / 0.5671 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.255e-05/0.2941, allocations: 4 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.2941, allocations: 12 kB / 0.5672 GB, free: 14.64 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 (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.0001219/0.2942, allocations: 139.1 kB / 0.5673 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.2943, allocations: 11.91 kB / 0.5673 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.2947, allocations: 194.9 kB / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.2947, allocations: 0 / 0.5675 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2947, allocations: 7.938 kB / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.2947, allocations: 0 / 0.5675 GB, free: 14.28 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000677/0.2954, allocations: 474.2 kB / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2954, allocations: 0 / 0.568 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.548e-05/0.2955, allocations: 27.92 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.2955, allocations: 4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.2955, allocations: 4 kB / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2955, allocations: 0 / 0.568 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2955, allocations: 4 kB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000335/0.2958, allocations: 260.2 kB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.2958, allocations: 15.89 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.2959, allocations: 4 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.575e-05/0.2959, allocations: 4 kB / 0.5683 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.296, allocations: 7.984 kB / 0.5683 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.296, allocations: 11.98 kB / 0.5683 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.2961, allocations: 185.1 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2961, allocations: 0 / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.2964, allocations: 31.92 kB / 0.5685 GB, free: 13.2 MB / 414.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.001654/0.2981, allocations: 466 kB / 0.5689 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.2984, allocations: 111.6 kB / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2984, allocations: 0 / 0.569 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2985, allocations: 51.97 kB / 0.5691 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2988, allocations: 27.61 kB / 0.5691 GB, free: 12.71 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.2995, allocations: 335.8 kB / 0.5694 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.2998, allocations: 0.7164 MB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.293e-05/0.2999, allocations: 36.39 kB / 0.5702 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.34e-05/0.2999, allocations: 19.44 kB / 0.5702 GB, free: 11.56 MB / 414.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2999, allocations: 0 / 0.5702 GB, free: 11.56 MB / 414.1 MB Notification: Performance of Templates: time 0.004839/0.3048, allocations: 1.672 MB / 0.5718 GB, free: 9.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.647872203961015]